public class NestedLoopJoinBatch extends AbstractBinaryRecordBatch<NestedLoopJoinPOP>
AbstractBinaryRecordBatch.MetricAbstractRecordBatch.BatchStateRecordBatch.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, rightUpstreambatchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_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, verifyOutcomeToSetBatchStatecancel, 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, spliteratorprotected static final int LEFT_INPUT
protected static final int RIGHT_INPUT
protected NestedLoopJoinBatch(NestedLoopJoinPOP popConfig, FragmentContext context, RecordBatch left, RecordBatch right) throws OutOfMemoryException
OutOfMemoryExceptionpublic 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 AutoCloseableclose in class AbstractRecordBatch<NestedLoopJoinPOP>protected void cancelIncoming()
cancelIncoming in class AbstractBinaryRecordBatch<NestedLoopJoinPOP>public int getRecordCount()
VectorAccessiblepublic void dump()
RecordBatchCopyright © 2022 The Apache Software Foundation. All rights reserved.