Package org.apache.iceberg.util
Class Filter<T>
- java.lang.Object
-
- org.apache.iceberg.util.Filter<T>
-
- Type Parameters:
T
- the type of objects filtered by this Filter
public abstract class Filter<T> extends java.lang.Object
A Class for generic filters
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<T>
filter(java.lang.Iterable<T> items)
CloseableIterable<T>
filter(CloseableIterable<T> items)
protected abstract boolean
shouldKeep(T item)
-
-
-
Method Detail
-
shouldKeep
protected abstract boolean shouldKeep(T item)
-
filter
public CloseableIterable<T> filter(CloseableIterable<T> items)
-
-