public class ColumnarRowIterator
extends org.apache.flink.connector.file.src.util.RecyclableIterator<org.apache.flink.table.data.RowData>
BulkFormat.RecordIterator that returns RowDatas. The next row is set by ColumnarRowData.setRowId(int).| Constructor and Description |
|---|
ColumnarRowIterator(ColumnarRowData rowData,
Runnable recycler) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.connector.file.src.util.RecordAndPosition<org.apache.flink.table.data.RowData> |
next() |
void |
set(int num,
long recordSkipCount) |
void |
set(int num,
long offset,
long recordSkipCount)
Set number rows in this batch and updates the position.
|
public ColumnarRowIterator(ColumnarRowData rowData, @Nullable Runnable recycler)
public void set(int num,
long recordSkipCount)
num - number rows in this batch.recordSkipCount - The number of rows that have been returned before this batch.public void set(int num,
long offset,
long recordSkipCount)
@Nullable public org.apache.flink.connector.file.src.util.RecordAndPosition<org.apache.flink.table.data.RowData> next()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.