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 BoundedTrieResultCreates aBoundedTrieResultfrom the givenSetby making an immutable copy.static BoundedTrieResultempty() 
- 
Constructor Details
- 
BoundedTrieResult
public BoundedTrieResult() 
 - 
 - 
Method Details
- 
getResult
 - 
create
Creates aBoundedTrieResultfrom the givenSetby making an immutable copy.- Parameters:
 s- the set from which theBoundedTrieResultshould be created.- Returns:
 BoundedTrieResultcontaining an immutable copy of the given set.
 - 
empty
- Returns:
 - an empty 
BoundedTrieResult 
 
 -