Class HashTableTemplate.BatchHolder
java.lang.Object
org.apache.drill.exec.physical.impl.common.HashTableTemplate.BatchHolder
- Enclosing class:
HashTableTemplate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanareBothKeysNull(int incomingRowIdx, int htRowIdx) longintprotected booleanisKeyMatchInternalBuild(int incomingRowIdx, int htRowIdx) protected booleanisKeyMatchInternalProbe(int incomingRowIdx, int htRowIdx) protected voidoutputRecordKeys(int htRowIdx, int outRowIdx) voidsetTargetBatchRowCount(int targetBatchRowCount) protected voidsetup()protected voidsetupInterior(VectorContainer incomingBuild, RecordBatch incomingProbe, RecordBatch outgoing, VectorContainer htContainer) protected voidsetValue(int incomingRowIdx, int htRowIdx)
-
Constructor Details
-
BatchHolder
public BatchHolder(int idx, int newBatchHolderSize)
-
-
Method Details
-
setTargetBatchRowCount
public void setTargetBatchRowCount(int targetBatchRowCount) -
getTargetBatchRowCount
public int getTargetBatchRowCount() -
setup
- Throws:
SchemaChangeException
-
setupInterior
protected void setupInterior(@Named("incomingBuild") VectorContainer incomingBuild, @Named("incomingProbe") RecordBatch incomingProbe, @Named("outgoing") RecordBatch outgoing, @Named("htContainer") VectorContainer htContainer) throws SchemaChangeException - Throws:
SchemaChangeException
-
isKeyMatchInternalBuild
protected boolean isKeyMatchInternalBuild(@Named("incomingRowIdx") int incomingRowIdx, @Named("htRowIdx") int htRowIdx) throws SchemaChangeException - Throws:
SchemaChangeException
-
areBothKeysNull
protected boolean areBothKeysNull(@Named("incomingRowIdx") int incomingRowIdx, @Named("htRowIdx") int htRowIdx) throws SchemaChangeException - Throws:
SchemaChangeException
-
isKeyMatchInternalProbe
protected boolean isKeyMatchInternalProbe(@Named("incomingRowIdx") int incomingRowIdx, @Named("htRowIdx") int htRowIdx) throws SchemaChangeException - Throws:
SchemaChangeException
-
setValue
protected void setValue(@Named("incomingRowIdx") int incomingRowIdx, @Named("htRowIdx") int htRowIdx) throws SchemaChangeException - Throws:
SchemaChangeException
-
outputRecordKeys
protected void outputRecordKeys(@Named("htRowIdx") int htRowIdx, @Named("outRowIdx") int outRowIdx) throws SchemaChangeException - Throws:
SchemaChangeException
-
getActualSize
public long getActualSize()
-