Class BuildSideIterator.BucketIterator
java.lang.Object
org.apache.flink.table.runtime.hashtable.BuildSideIterator.BucketIterator
- All Implemented Interfaces:
RowIterator<org.apache.flink.table.data.binary.BinaryRowData>
- Enclosing class:
- BuildSideIterator
public static class BuildSideIterator.BucketIterator
extends Object
implements RowIterator<org.apache.flink.table.data.binary.BinaryRowData>
Partition bucket iterator.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAdvance this iterator by a single row.org.apache.flink.table.data.binary.BinaryRowDatagetRow()Retrieve the row from this iterator.
-
Method Details
-
advanceNext
public boolean advanceNext()Description copied from interface:RowIteratorAdvance this iterator by a single row. Returns `false` if this iterator has no more rows and `true` otherwise. If this returns `true`, then the new row can be retrieved by callingRowIterator.getRow().- Specified by:
advanceNextin interfaceRowIterator<org.apache.flink.table.data.binary.BinaryRowData>
-
getRow
public org.apache.flink.table.data.binary.BinaryRowData getRow()Description copied from interface:RowIteratorRetrieve the row from this iterator. This method is idempotent. It is illegal to call this method after [[advanceNext()]] has returned `false`.- Specified by:
getRowin interfaceRowIterator<org.apache.flink.table.data.binary.BinaryRowData>
-