public class RangePartitionRecordBatch extends AbstractSingleRecordBatch<RangePartitionSender>
AbstractRecordBatch.BatchState
RecordBatch.IterOutcome
incoming
callBack
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabled
MAX_BATCH_ROW_COUNT
Constructor and Description |
---|
RangePartitionRecordBatch(RangePartitionSender popConfig,
RecordBatch incoming,
FragmentContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected RecordBatch.IterOutcome |
doWork() |
void |
dump()
Perform dump of this batch's state to logs.
|
int |
getRecordCount()
Get the number of records.
|
protected boolean |
setupNewSchema()
Sets up projection that will transfer all of the columns in batch, and also setup
the partition column based on which partition a record falls into
|
getFinalOutcome, getIncoming
cancelIncoming, getLastKnownOutcome, handleNullInput, innerNext, setLastKnownOutcome
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 RangePartitionRecordBatch(RangePartitionSender popConfig, RecordBatch incoming, FragmentContext context) throws OutOfMemoryException
OutOfMemoryException
public void close()
close
in interface AutoCloseable
close
in class AbstractRecordBatch<RangePartitionSender>
public int getRecordCount()
VectorAccessible
protected RecordBatch.IterOutcome doWork()
doWork
in class AbstractUnaryRecordBatch<RangePartitionSender>
protected boolean setupNewSchema()
setupNewSchema
in class AbstractUnaryRecordBatch<RangePartitionSender>
SchemaChangeException
public void dump()
RecordBatch
Copyright © 1970 The Apache Software Foundation. All rights reserved.