public class IndirectRowIndex extends ReaderIndex
offset() method points to the
actual data row, while the ReaderIndex.logicalIndex() method gives
the position relative to the indirection vector. That is,
the position increases monotonically, but the index jumps
around as specified by the indirection vector.position, rowCount| Constructor and Description |
|---|
IndirectRowIndex(SelectionVector2 sv2) |
| Modifier and Type | Method and Description |
|---|---|
int |
hyperVectorIndex()
When used with a hyper-vector (SV4) based batch, returns the
index of the current batch within the hyper-batch.
|
int |
offset()
Vector offset to read.
|
hasNext, logicalIndex, next, set, sizepublic IndirectRowIndex(SelectionVector2 sv2)
public int offset()
ColumnReaderIndexpublic int hyperVectorIndex()
ColumnReaderIndexCopyright © 2021 The Apache Software Foundation. All rights reserved.