public class RowKeyJoinBatch extends AbstractRecordBatch<RowKeyJoinPOP> implements RowKeyJoin
AbstractRecordBatch.BatchStateRowKeyJoin.RowKeyJoinStateRecordBatch.IterOutcomebatchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_ROW_COUNT| Constructor and Description |
|---|
RowKeyJoinBatch(RowKeyJoinPOP config,
FragmentContext context,
RecordBatch left,
RecordBatch right) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildSchema() |
protected void |
cancelIncoming() |
void |
close() |
void |
dump()
Perform dump of this batch's state to logs.
|
AbstractRecordBatch.BatchState |
getBatchState()
Get the current BatchState (this is useful when performing row key join)
|
int |
getRecordCount()
Get the number of records.
|
RowKeyJoin.RowKeyJoinState |
getRowKeyJoinState()
Get the current RowKeyJoinState.
|
SelectionVector2 |
getSelectionVector2() |
SelectionVector4 |
getSelectionVector4() |
boolean |
hasRowKeyBatch()
Is the next batch of row keys ready to be returned
|
RecordBatch.IterOutcome |
innerNext() |
org.apache.commons.lang3.tuple.Pair<ValueVector,Integer> |
nextRowKeyBatch()
Get the next batch of row keys
|
void |
setBatchState(AbstractRecordBatch.BatchState newState)
Set the BatchState (this is useful when performing row key join)
|
void |
setRowKeyJoinState(RowKeyJoin.RowKeyJoinState newState)
Set the RowKeyJoinState (this is useful for maintaining state for row key join algorithm)
|
cancel, checkContinue, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic RowKeyJoinBatch(RowKeyJoinPOP config, FragmentContext context, RecordBatch left, RecordBatch right) throws OutOfMemoryException
OutOfMemoryExceptionpublic int getRecordCount()
VectorAccessiblegetRecordCount in interface VectorAccessiblepublic SelectionVector2 getSelectionVector2()
getSelectionVector2 in interface VectorAccessiblegetSelectionVector2 in class AbstractRecordBatch<RowKeyJoinPOP>public SelectionVector4 getSelectionVector4()
getSelectionVector4 in interface VectorAccessiblegetSelectionVector4 in class AbstractRecordBatch<RowKeyJoinPOP>protected void buildSchema()
buildSchema in class AbstractRecordBatch<RowKeyJoinPOP>public RecordBatch.IterOutcome innerNext()
innerNext in class AbstractRecordBatch<RowKeyJoinPOP>public boolean hasRowKeyBatch()
RowKeyJoinhasRowKeyBatch in interface RowKeyJoinpublic org.apache.commons.lang3.tuple.Pair<ValueVector,Integer> nextRowKeyBatch()
RowKeyJoinnextRowKeyBatch in interface RowKeyJoinpublic AbstractRecordBatch.BatchState getBatchState()
RowKeyJoingetBatchState in interface RowKeyJoinpublic void setBatchState(AbstractRecordBatch.BatchState newState)
RowKeyJoinsetBatchState in interface RowKeyJoinpublic void setRowKeyJoinState(RowKeyJoin.RowKeyJoinState newState)
RowKeyJoinsetRowKeyJoinState in interface RowKeyJoinpublic RowKeyJoin.RowKeyJoinState getRowKeyJoinState()
RowKeyJoingetRowKeyJoinState in interface RowKeyJoinprotected void cancelIncoming()
cancelIncoming in class AbstractRecordBatch<RowKeyJoinPOP>public void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<RowKeyJoinPOP>public void dump()
RecordBatchdump in interface RecordBatchCopyright © 2021 The Apache Software Foundation. All rights reserved.