public class HashJoinProbeTemplate extends Object implements HashJoinProbe
HashJoinProbe.ProbeStateTEMPLATE_DEFINITION| Constructor and Description |
|---|
HashJoinProbeTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeToFinalProbeState() |
int |
getOutputCount() |
int |
probeAndProject()
Perform the probe, till the outgoing is full, or no more rows to probe.
|
void |
setTargetOutputCount(int targetOutputRecords) |
void |
setupHashJoinProbe(RecordBatch probeBatch,
HashJoinBatch outgoing,
org.apache.calcite.rel.core.JoinRelType joinRelType,
boolean semiJoin,
RecordBatch.IterOutcome leftStartState,
HashPartition[] partitions,
int cycleNum,
VectorContainer container,
HashJoinBatch.HashJoinSpilledPartition[] spilledInners,
boolean buildSideIsEmpty,
int numPartitions,
int rightHVColPosition)
Setup the Hash Join Probe object
|
String |
toString() |
public void setTargetOutputCount(int targetOutputRecords)
setTargetOutputCount in interface HashJoinProbepublic int getOutputCount()
getOutputCount in interface HashJoinProbepublic void setupHashJoinProbe(RecordBatch probeBatch, HashJoinBatch outgoing, org.apache.calcite.rel.core.JoinRelType joinRelType, boolean semiJoin, RecordBatch.IterOutcome leftStartState, HashPartition[] partitions, int cycleNum, VectorContainer container, HashJoinBatch.HashJoinSpilledPartition[] spilledInners, boolean buildSideIsEmpty, int numPartitions, int rightHVColPosition)
setupHashJoinProbe in interface HashJoinProbeprobeBatch - outgoing - joinRelType - semiJoin - leftStartState - partitions - cycleNum - container - spilledInners - buildSideIsEmpty - numPartitions - rightHVColPosition - public int probeAndProject()
throws SchemaChangeException
probeAndProject in interface HashJoinProbeSchemaChangeExceptionpublic void changeToFinalProbeState()
changeToFinalProbeState in interface HashJoinProbeCopyright © 2021 The Apache Software Foundation. All rights reserved.