public class SortBatch extends AbstractRecordBatch<Sort>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcomebatchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_ROW_COUNT| Constructor and Description |
|---|
SortBatch(Sort popConfig,
FragmentContext context,
RecordBatch incoming) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelIncoming() |
void |
close() |
static Sorter |
createNewSorter(FragmentContext context,
List<Order.Ordering> orderings,
VectorAccessible batch) |
static Sorter |
createNewSorter(FragmentContext context,
List<Order.Ordering> orderings,
VectorAccessible batch,
MappingSet mainMapping,
MappingSet leftMapping,
MappingSet rightMapping) |
void |
dump()
Perform dump of this batch's state to logs.
|
int |
getRecordCount()
Get the number of records.
|
SelectionVector2 |
getSelectionVector2() |
SelectionVector4 |
getSelectionVector4() |
WritableBatch |
getWritableBatch()
Gets a writable version of this batch.
|
RecordBatch.IterOutcome |
innerNext() |
buildSchema, cancel, checkContinue, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, getValueAccessorById, getValueVectorId, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SortBatch(Sort popConfig, FragmentContext context, RecordBatch incoming) throws OutOfMemoryException
OutOfMemoryExceptionpublic int getRecordCount()
VectorAccessiblepublic SelectionVector2 getSelectionVector2()
getSelectionVector2 in interface VectorAccessiblegetSelectionVector2 in class AbstractRecordBatch<Sort>public SelectionVector4 getSelectionVector4()
getSelectionVector4 in interface VectorAccessiblegetSelectionVector4 in class AbstractRecordBatch<Sort>public void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<Sort>public RecordBatch.IterOutcome innerNext()
innerNext in class AbstractRecordBatch<Sort>public static Sorter createNewSorter(FragmentContext context, List<Order.Ordering> orderings, VectorAccessible batch)
public static Sorter createNewSorter(FragmentContext context, List<Order.Ordering> orderings, VectorAccessible batch, MappingSet mainMapping, MappingSet leftMapping, MappingSet rightMapping)
public WritableBatch getWritableBatch()
RecordBatchgetWritableBatch in interface RecordBatchgetWritableBatch in class AbstractRecordBatch<Sort>protected void cancelIncoming()
cancelIncoming in class AbstractRecordBatch<Sort>public void dump()
RecordBatchCopyright © 2021 The Apache Software Foundation. All rights reserved.