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, wait
forEach, spliterator
public WindowDataBatch(VectorAccessible batch, OperatorContext oContext)
public OperatorContext getContext()
public VectorContainer getContainer()
public int getRecordCount()
VectorAccessible
getRecordCount
in interface VectorAccessible
public VectorWrapper<?> getValueAccessorById(Class<?> clazz, int... fieldIds)
getValueAccessorById
in interface VectorAccessible
public TypedFieldId getValueVectorId(SchemaPath path)
VectorAccessible
Iterable<ValueVector>.
getValueVectorId
in interface VectorAccessible
path
- the path where the vector should be located.public BatchSchema getSchema()
VectorAccessible
getSchema
in interface VectorAccessible
public Iterator<VectorWrapper<?>> iterator()
iterator
in interface Iterable<VectorWrapper<?>>
public SelectionVector2 getSelectionVector2()
getSelectionVector2
in interface VectorAccessible
public SelectionVector4 getSelectionVector4()
getSelectionVector4
in interface VectorAccessible
public void clear()
Copyright © 1970 The Apache Software Foundation. All rights reserved.