public class FrameVectorCursor extends Object implements VectorCursor
VectorCursor that is based on a Frame.
This class is only used for columnar frames. It is not used for row-based frames.| Modifier and Type | Method and Description |
|---|---|
void |
advance()
Advances the cursor, skipping forward a number of rows equal to the current vector size.
|
void |
close()
Close the cursor and release its resources.
|
VectorColumnSelectorFactory |
getColumnSelectorFactory()
Returns a vectorized column selector factory.
|
int |
getCurrentVectorSize()
Returns the current vector size for this cursor.
|
int |
getMaxVectorSize()
Returns the maximum vector size for this cursor.
|
boolean |
isDone()
Returns false if the cursor is readable, true if it has nothing left to read.
|
void |
reset()
Resets the cursor back to its original state.
|
public VectorColumnSelectorFactory getColumnSelectorFactory()
VectorCursorgetColumnSelectorFactory in interface VectorCursorpublic void advance()
VectorCursoradvance in interface VectorCursorpublic boolean isDone()
VectorCursorisDone in interface VectorCursorpublic void reset()
VectorCursorreset in interface VectorCursorpublic void close()
VectorCursorclose in interface Closeableclose in interface AutoCloseableclose in interface VectorCursorpublic int getMaxVectorSize()
VectorSizeInspectorgetMaxVectorSize in interface VectorSizeInspectorpublic int getCurrentVectorSize()
VectorSizeInspectorVectorSizeInspector.getMaxVectorSize().getCurrentVectorSize in interface VectorSizeInspectorCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.