public class OrderedPartitionRecordBatch extends AbstractRecordBatch<OrderedPartitionSender>
This code is not used.
AbstractRecordBatch.BatchState
RecordBatch.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, unionTypeEnabled
MAX_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, schemaChangeException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public 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
OutOfMemoryException
public void close()
close
in interface AutoCloseable
close
in class AbstractRecordBatch<OrderedPartitionSender>
protected void cancelIncoming()
cancelIncoming
in class AbstractRecordBatch<OrderedPartitionSender>
public RecordBatch.IterOutcome innerNext()
innerNext
in class AbstractRecordBatch<OrderedPartitionSender>
public int getRecordCount()
VectorAccessible
protected void doWork(VectorAccessible batch)
protected void setupNewSchema(VectorAccessible batch)
batch
- public void dump()
RecordBatch
Copyright © 1970 The Apache Software Foundation. All rights reserved.