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 protected
FilterIterator(java.util.Iterator<T> items)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
T
next()
protected abstract boolean
shouldKeep(T item)
-
-
-
Constructor Detail
-
FilterIterator
protected FilterIterator(java.util.Iterator<T> items)
-
-