public static interface RecordReader.RecordIterator<T>
Iterator
.Modifier and Type | Method and Description |
---|---|
default RecordReader.RecordIterator<T> |
filter(Filter<T> filter)
Filters a
RecordReader.RecordIterator . |
T |
next()
Gets the next record from the iterator.
|
void |
releaseBatch()
Releases the batch that this iterator iterated over.
|
default <R> RecordReader.RecordIterator<R> |
transform(java.util.function.Function<T,R> function)
Returns an iterator that applies
function to each element. |
@Nullable T next() throws IOException
IOException
void releaseBatch()
default <R> RecordReader.RecordIterator<R> transform(java.util.function.Function<T,R> function)
function
to each element.default RecordReader.RecordIterator<T> filter(Filter<T> filter)
RecordReader.RecordIterator
.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.