public class WindowDataBatch extends Object implements VectorAccessible
| Constructor and Description |
|---|
WindowDataBatch(VectorAccessible batch,
OperatorContext oContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
VectorContainer |
getContainer() |
OperatorContext |
getContext() |
int |
getRecordCount()
Get the number of records.
|
BatchSchema |
getSchema()
Get the schema of the current RecordBatch.
|
SelectionVector2 |
getSelectionVector2() |
SelectionVector4 |
getSelectionVector4() |
VectorWrapper<?> |
getValueAccessorById(Class<?> clazz,
int... fieldIds) |
TypedFieldId |
getValueVectorId(SchemaPath path)
Get the value vector type and id for the given schema path.
|
Iterator<VectorWrapper<?>> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic WindowDataBatch(VectorAccessible batch, OperatorContext oContext)
public OperatorContext getContext()
public VectorContainer getContainer()
public int getRecordCount()
VectorAccessiblegetRecordCount in interface VectorAccessiblepublic VectorWrapper<?> getValueAccessorById(Class<?> clazz, int... fieldIds)
getValueAccessorById in interface VectorAccessiblepublic TypedFieldId getValueVectorId(SchemaPath path)
VectorAccessibleIterable<ValueVector>.getValueVectorId in interface VectorAccessiblepath - the path where the vector should be located.public BatchSchema getSchema()
VectorAccessiblegetSchema in interface VectorAccessiblepublic Iterator<VectorWrapper<?>> iterator()
iterator in interface Iterable<VectorWrapper<?>>public SelectionVector2 getSelectionVector2()
getSelectionVector2 in interface VectorAccessiblepublic SelectionVector4 getSelectionVector4()
getSelectionVector4 in interface VectorAccessiblepublic void clear()
Copyright © 2022 The Apache Software Foundation. All rights reserved.