Class Filter<T extends Summary>
java.lang.Object
org.apache.datasketches.tuple.Filter<T>
- Type Parameters:
T- Summary type against which apply thePredicate
Class for filtering entries from a
TupleSketch given a Summary-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(TupleSketch<T> sketchIn) Filters elements on the providedTupleSketch
-
Constructor Details
-
Filter
Filter constructor with aPredicate- Parameters:
predicate- Predicate to use in this filter. If the Predicate returns False, the element is discarded. If the Predicate returns True, then the element is kept in theTupleSketch
-
-
Method Details
-
filter
Filters elements on the providedTupleSketch
-