public abstract class HashJoinProbeTemplate extends Object implements HashJoinProbe
HashJoinProbe.ProbeStateTEMPLATE_DEFINITION| Constructor and Description |
|---|
HashJoinProbeTemplate() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doSetup(FragmentContext context,
VectorContainer buildBatch,
RecordBatch probeBatch,
RecordBatch outgoing) |
void |
executeProbePhase() |
void |
executeProjectRightPhase() |
int |
probeAndProject() |
abstract void |
projectBuildRecord(int buildIndex,
int outIndex) |
abstract void |
projectProbeRecord(int probeIndex,
int outIndex) |
void |
setupHashJoinProbe(FragmentContext context,
VectorContainer buildBatch,
RecordBatch probeBatch,
int probeRecordCount,
HashJoinBatch outgoing,
HashTable hashTable,
HashJoinHelper hjHelper,
org.apache.calcite.rel.core.JoinRelType joinRelType) |
public void setupHashJoinProbe(FragmentContext context, VectorContainer buildBatch, RecordBatch probeBatch, int probeRecordCount, HashJoinBatch outgoing, HashTable hashTable, HashJoinHelper hjHelper, org.apache.calcite.rel.core.JoinRelType joinRelType)
setupHashJoinProbe in interface HashJoinProbepublic void executeProjectRightPhase()
public void executeProbePhase()
throws SchemaChangeException
SchemaChangeExceptionpublic int probeAndProject()
throws SchemaChangeException,
ClassTransformationException,
IOException
probeAndProject in interface HashJoinProbeSchemaChangeExceptionClassTransformationExceptionIOExceptionpublic abstract void doSetup(@Named(value="context")
FragmentContext context,
@Named(value="buildBatch")
VectorContainer buildBatch,
@Named(value="probeBatch")
RecordBatch probeBatch,
@Named(value="outgoing")
RecordBatch outgoing)
doSetup in interface HashJoinProbepublic abstract void projectBuildRecord(@Named(value="buildIndex")
int buildIndex,
@Named(value="outIndex")
int outIndex)
projectBuildRecord in interface HashJoinProbepublic abstract void projectProbeRecord(@Named(value="probeIndex")
int probeIndex,
@Named(value="outIndex")
int outIndex)
projectProbeRecord in interface HashJoinProbeCopyright © 2017 The Apache Software Foundation. All rights reserved.