public class NestedLoopJoinBatch extends AbstractBinaryRecordBatch<NestedLoopJoinPOP>
AbstractBinaryRecordBatch.Metric
AbstractRecordBatch.BatchState
RecordBatch.IterOutcome
Modifier and Type | Field and Description |
---|---|
protected static int |
LEFT_INPUT |
protected static int |
RIGHT_INPUT |
batchMemoryManager, left, LEFT_INDEX, leftUpstream, numInputs, right, RIGHT_INDEX, rightUpstream
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabled
MAX_BATCH_ROW_COUNT
Modifier | Constructor and Description |
---|---|
protected |
NestedLoopJoinBatch(NestedLoopJoinPOP popConfig,
FragmentContext context,
RecordBatch left,
RecordBatch right) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildSchema()
Builds the output container's schema.
|
protected void |
cancelIncoming() |
void |
close() |
void |
dump()
Perform dump of this batch's state to logs.
|
int |
getRecordCount()
Get the number of records.
|
RecordBatch.IterOutcome |
innerNext()
Method drains the right side input of the NLJ and accumulates the data
in a hyper container.
|
checkForEarlyFinish, getBatchMemoryManager, prefetchFirstBatchFromBothSides, updateBatchMemoryManagerStats, verifyOutcomeToSetBatchState
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
protected static final int LEFT_INPUT
protected static final int RIGHT_INPUT
protected NestedLoopJoinBatch(NestedLoopJoinPOP popConfig, FragmentContext context, RecordBatch left, RecordBatch right) throws OutOfMemoryException
OutOfMemoryException
public RecordBatch.IterOutcome innerNext()
innerNext
in class AbstractRecordBatch<NestedLoopJoinPOP>
protected void buildSchema()
buildSchema
in class AbstractRecordBatch<NestedLoopJoinPOP>
SchemaChangeException
- if batch schema was changed during executionpublic void close()
close
in interface AutoCloseable
close
in class AbstractRecordBatch<NestedLoopJoinPOP>
protected void cancelIncoming()
cancelIncoming
in class AbstractBinaryRecordBatch<NestedLoopJoinPOP>
public int getRecordCount()
VectorAccessible
public void dump()
RecordBatch
Copyright © 1970 The Apache Software Foundation. All rights reserved.