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
ConstructorDescriptionSimpleSV4RecordBatch
(VectorContainer container, SelectionVector4 sv4, FragmentContext context) -
Method Summary
Modifier and TypeMethodDescriptionint
Get 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, next
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:VectorAccessible
Get the number of records.- Specified by:
getRecordCount
in interfaceVectorAccessible
- Overrides:
getRecordCount
in classSimpleRecordBatch
- Returns:
- number of records
-
getSelectionVector4
- Specified by:
getSelectionVector4
in interfaceVectorAccessible
- Overrides:
getSelectionVector4
in classSimpleRecordBatch
-