Class WindowDataBatch
java.lang.Object
org.apache.drill.exec.physical.impl.window.WindowDataBatch
- All Implemented Interfaces:
Iterable<VectorWrapper<?>>,VectorAccessible
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intGet the number of records.Get the schema of the current RecordBatch.getValueAccessorById(Class<?> clazz, int... fieldIds) getValueVectorId(SchemaPath path) Get the value vector type and id for the given schema path.iterator()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
WindowDataBatch
-
-
Method Details
-
getContext
-
getContainer
-
getRecordCount
public int getRecordCount()Description copied from interface:VectorAccessibleGet the number of records.- Specified by:
getRecordCountin interfaceVectorAccessible- Returns:
- number of records
-
getValueAccessorById
- Specified by:
getValueAccessorByIdin interfaceVectorAccessible
-
getValueVectorId
Description copied from interface:VectorAccessibleGet the value vector type and id for the given schema path. The TypedFieldId should store a fieldId which is the same as the ordinal position of the field within the Iterator provided this classes implementation ofIterable<ValueVector>.- Specified by:
getValueVectorIdin interfaceVectorAccessible- Parameters:
path- the path where the vector should be located.- Returns:
- the local field id associated with this vector. If no field matches this path, this will return a null TypedFieldId
-
getSchema
Description copied from interface:VectorAccessibleGet the schema of the current RecordBatch. This changes if and only if a *_NEW_SCHEMA IterOutcome is provided.- Specified by:
getSchemain interfaceVectorAccessible- Returns:
- schema of the current batch
-
iterator
- Specified by:
iteratorin interfaceIterable<VectorWrapper<?>>
-
getSelectionVector2
- Specified by:
getSelectionVector2in interfaceVectorAccessible
-
getSelectionVector4
- Specified by:
getSelectionVector4in interfaceVectorAccessible
-
clear
public void clear() -
toString
-