public class OrderedPartitionRecordBatch extends AbstractRecordBatch<OrderedPartitionSender>
This code is not used.
AbstractRecordBatch.BatchStateRecordBatch.IterOutcome| Modifier and Type | Field and Description |
|---|---|
protected RecordBatch |
incoming |
static DistributedCache.CacheConfig<String,CachedVectorContainer> |
MULTI_CACHE_CONFIG |
static DistributedCache.CacheConfig<String,CachedVectorContainer> |
SINGLE_CACHE_CONFIG |
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_ROW_COUNT| Constructor and Description |
|---|
OrderedPartitionRecordBatch(OrderedPartitionSender pop,
RecordBatch incoming,
FragmentContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelIncoming() |
void |
close() |
protected void |
doWork(VectorAccessible batch) |
void |
dump()
Perform dump of this batch's state to logs.
|
int |
getRecordCount()
Get the number of records.
|
RecordBatch.IterOutcome |
innerNext() |
protected void |
setupNewSchema(VectorAccessible batch)
Sets up projection that will transfer all of the columns in batch, and also
populate the partition column based on which partition a record falls into
in the partition table
|
buildSchema, cancel, checkContinue, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final DistributedCache.CacheConfig<String,CachedVectorContainer> SINGLE_CACHE_CONFIG
public static final DistributedCache.CacheConfig<String,CachedVectorContainer> MULTI_CACHE_CONFIG
protected final RecordBatch incoming
public OrderedPartitionRecordBatch(OrderedPartitionSender pop, RecordBatch incoming, FragmentContext context) throws OutOfMemoryException
OutOfMemoryExceptionpublic void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<OrderedPartitionSender>protected void cancelIncoming()
cancelIncoming in class AbstractRecordBatch<OrderedPartitionSender>public RecordBatch.IterOutcome innerNext()
innerNext in class AbstractRecordBatch<OrderedPartitionSender>public int getRecordCount()
VectorAccessibleprotected void doWork(VectorAccessible batch)
protected void setupNewSchema(VectorAccessible batch)
batch - public void dump()
RecordBatchCopyright © 2021 The Apache Software Foundation. All rights reserved.