public static final class NullableScalarWriter.ChildIndex extends Object implements ColumnWriterIndex
Constructor and Description |
---|
ChildIndex(ColumnWriterIndex parentIndex) |
Modifier and Type | Method and Description |
---|---|
void |
nextElement()
Increment the index for an array.
|
ColumnWriterIndex |
outerIndex()
If this index represents a repeat level, return the index of the
next higher repeat level.
|
void |
prevElement()
Decrement the index for an array.
|
void |
rollover()
When handling overflow, the index must be reset so that the current row
starts at the start of the vector.
|
int |
rowStartIndex()
Index of the first entry for the current row
|
int |
vectorIndex()
Current row or array index.
|
public ChildIndex(ColumnWriterIndex parentIndex)
public int rowStartIndex()
ColumnWriterIndex
rowStartIndex
in interface ColumnWriterIndex
public int vectorIndex()
ColumnWriterIndex
vectorIndex
in interface ColumnWriterIndex
public void nextElement()
ColumnWriterIndex
nextElement
in interface ColumnWriterIndex
public void prevElement()
ColumnWriterIndex
prevElement
in interface ColumnWriterIndex
public void rollover()
ColumnWriterIndex
rollover
in interface ColumnWriterIndex
public ColumnWriterIndex outerIndex()
ColumnWriterIndex
outerIndex
in interface ColumnWriterIndex
Copyright © 1970 The Apache Software Foundation. All rights reserved.