Package org.apache.beam.sdk.metrics
Class BoundedTrieResult
java.lang.Object
org.apache.beam.sdk.metrics.BoundedTrieResult
Internal: For internal use only and not for public consumption. This API is subject to
incompatible changes, or even removal, in a future release.
The result of a BoundedTrie
metric. The BoundedTrieResult
hold an immutable
copy of the set from which it was initially created representing that a result cannot be modified
once created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BoundedTrieResult
Creates aBoundedTrieResult
from the givenSet
by making an immutable copy.static BoundedTrieResult
empty()
-
Constructor Details
-
BoundedTrieResult
public BoundedTrieResult()
-
-
Method Details
-
getResult
-
create
Creates aBoundedTrieResult
from the givenSet
by making an immutable copy.- Parameters:
s
- the set from which theBoundedTrieResult
should be created.- Returns:
BoundedTrieResult
containing an immutable copy of the given set.
-
empty
- Returns:
- an empty
BoundedTrieResult
-