Package org.apache.iceberg.io
Class FilterIterator<T>
- java.lang.Object
-
- org.apache.iceberg.io.FilterIterator<T>
-
- Type Parameters:
T- the type of objects produced by this Iterator
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.util.Iterator<T>,CloseableIterator<T>
public abstract class FilterIterator<T> extends java.lang.Object implements CloseableIterator<T>
An Iterator that filters another Iterator.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFilterIterator(java.util.Iterator<T> items)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Tnext()protected abstract booleanshouldKeep(T item)
-
-
-
Constructor Detail
-
FilterIterator
protected FilterIterator(java.util.Iterator<T> items)
-
-