Class TopNBatch.SimpleSV4RecordBatch
java.lang.Object
org.apache.drill.exec.record.SimpleRecordBatch
org.apache.drill.exec.physical.impl.TopN.TopNBatch.SimpleSV4RecordBatch
- All Implemented Interfaces:
Iterable<VectorWrapper<?>>,RecordBatch,VectorAccessible
- Enclosing class:
TopNBatch
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.record.RecordBatch
RecordBatch.IterOutcome -
Field Summary
Fields inherited from interface org.apache.drill.exec.record.RecordBatch
MAX_BATCH_ROW_COUNT -
Constructor Summary
ConstructorsConstructorDescriptionSimpleSV4RecordBatch(VectorContainer container, SelectionVector4 sv4, FragmentContext context) -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of records.Methods inherited from class org.apache.drill.exec.record.SimpleRecordBatch
cancel, dump, getContainer, getContext, getOutgoingContainer, getSchema, getSelectionVector2, getValueAccessorById, getValueVectorId, getWritableBatch, iterator, nextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SimpleSV4RecordBatch
public SimpleSV4RecordBatch(VectorContainer container, SelectionVector4 sv4, FragmentContext context)
-
-
Method Details
-
getRecordCount
public int getRecordCount()Description copied from interface:VectorAccessibleGet the number of records.- Specified by:
getRecordCountin interfaceVectorAccessible- Overrides:
getRecordCountin classSimpleRecordBatch- Returns:
- number of records
-
getSelectionVector4
- Specified by:
getSelectionVector4in interfaceVectorAccessible- Overrides:
getSelectionVector4in classSimpleRecordBatch
-