public abstract class AbstractBinaryRecordBatch<T extends PhysicalOperator> extends AbstractRecordBatch<T>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractBinaryRecordBatch.Metric |
AbstractRecordBatch.BatchState
RecordBatch.IterOutcome
Modifier and Type | Field and Description |
---|---|
protected RecordBatchMemoryManager |
batchMemoryManager |
protected RecordBatch |
left |
static int |
LEFT_INDEX |
protected RecordBatch.IterOutcome |
leftUpstream |
int |
numInputs |
protected RecordBatch |
right |
static int |
RIGHT_INDEX |
protected RecordBatch.IterOutcome |
rightUpstream |
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabled
MAX_BATCH_ROW_COUNT
Modifier | Constructor and Description |
---|---|
protected |
AbstractBinaryRecordBatch(T popConfig,
FragmentContext context,
boolean buildSchema,
RecordBatch left,
RecordBatch right) |
protected |
AbstractBinaryRecordBatch(T popConfig,
FragmentContext context,
RecordBatch left,
RecordBatch right) |
Modifier and Type | Method and Description |
---|---|
protected void |
cancelIncoming() |
protected boolean |
checkForEarlyFinish(RecordBatch.IterOutcome leftOutcome,
RecordBatch.IterOutcome rightOutcome)
Checks for the operator specific early terminal condition.
|
RecordBatchMemoryManager |
getBatchMemoryManager() |
protected boolean |
prefetchFirstBatchFromBothSides()
Prefetch first batch from both inputs.
|
protected void |
updateBatchMemoryManagerStats() |
protected boolean |
verifyOutcomeToSetBatchState(RecordBatch.IterOutcome leftOutcome,
RecordBatch.IterOutcome rightOutcome) |
buildSchema, cancel, checkContinue, close, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, innerNext, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dump
getRecordCount
forEach, spliterator
protected final RecordBatch left
protected final RecordBatch right
protected RecordBatch.IterOutcome leftUpstream
protected RecordBatch.IterOutcome rightUpstream
protected RecordBatchMemoryManager batchMemoryManager
public final int numInputs
public static final int LEFT_INDEX
public static final int RIGHT_INDEX
protected AbstractBinaryRecordBatch(T popConfig, FragmentContext context, RecordBatch left, RecordBatch right) throws OutOfMemoryException
OutOfMemoryException
protected AbstractBinaryRecordBatch(T popConfig, FragmentContext context, boolean buildSchema, RecordBatch left, RecordBatch right) throws OutOfMemoryException
OutOfMemoryException
protected boolean verifyOutcomeToSetBatchState(RecordBatch.IterOutcome leftOutcome, RecordBatch.IterOutcome rightOutcome)
protected boolean prefetchFirstBatchFromBothSides()
protected boolean checkForEarlyFinish(RecordBatch.IterOutcome leftOutcome, RecordBatch.IterOutcome rightOutcome)
public RecordBatchMemoryManager getBatchMemoryManager()
protected void updateBatchMemoryManagerStats()
protected void cancelIncoming()
cancelIncoming
in class AbstractRecordBatch<T extends PhysicalOperator>
Copyright © 1970 The Apache Software Foundation. All rights reserved.