public interface RowSetReader extends TupleReader
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Convenience method which whether the next call to
next()
will succeed. |
int |
hyperVectorIndex()
Batch index: 0 for a single batch, batch for the current
row is a hyper-batch.
|
int |
logicalIndex()
Gets the read position within the row set.
|
void |
newBatch()
Bind the reader to a new batch of data.
|
boolean |
next()
Advance to the next position.
|
int |
offset()
The index of the underlying row which may be indexed by an
SV2 or SV4.
|
void |
rewind()
Reset the position to before the first row.
|
int |
rowCount()
Total number of rows in the row set.
|
void |
setPosition(int index)
Sets the iteration position.
|
array, array, column, column, columnCount, dict, dict, scalar, scalar, tuple, tuple, tupleSchema, type, type, variant, variant
getAsString, getObject, isNull, schema, type
int rowCount()
boolean hasNext()
next()
will succeed. Purely optional.boolean next()
int logicalIndex()
offset()
to get the actual row index.void setPosition(int index)
rowCount()
- 1. Set the value to one
less than the position to be read in the next call to
next()
. An index of -1 means before the first row.index
- the desired index positionvoid rewind()
int hyperVectorIndex()
int offset()
void newBatch()
Copyright © 1970 The Apache Software Foundation. All rights reserved.