public abstract class ReaderIndex extends Object implements ColumnReaderIndex
| Modifier and Type | Field and Description |
|---|---|
protected int |
position |
protected Supplier<Integer> |
rowCount |
| Constructor and Description |
|---|
ReaderIndex(Supplier<Integer> rowCount) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Reports if the index has another item.
|
int |
logicalIndex()
Ordinal index within the batch or array.
|
boolean |
next()
Advances the index to the next position.
|
void |
set(int index) |
int |
size()
Return the number of items that this index indexes: top-level record
count for the root index; total element count for nested arrays.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithyperVectorIndex, offsetpublic void set(int index)
public int logicalIndex()
ColumnReaderIndexlogicalIndex in interface ColumnReaderIndexpublic int size()
ColumnReaderIndexsize in interface ColumnReaderIndexpublic boolean next()
ColumnReaderIndexnext in interface ColumnReaderIndexpublic boolean hasNext()
ColumnReaderIndexhasNext in interface ColumnReaderIndexColumnReaderIndex.next() would return true.Copyright © 2021 The Apache Software Foundation. All rights reserved.