Class HashTableTemplate.BatchHolder
java.lang.Object
org.apache.drill.exec.physical.impl.common.HashTableTemplate.BatchHolder
- Enclosing class:
- HashTableTemplate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
areBothKeysNull
(int incomingRowIdx, int htRowIdx) long
int
protected boolean
isKeyMatchInternalBuild
(int incomingRowIdx, int htRowIdx) protected boolean
isKeyMatchInternalProbe
(int incomingRowIdx, int htRowIdx) protected void
outputRecordKeys
(int htRowIdx, int outRowIdx) void
setTargetBatchRowCount
(int targetBatchRowCount) protected void
setup()
protected void
setupInterior
(VectorContainer incomingBuild, RecordBatch incomingProbe, RecordBatch outgoing, VectorContainer htContainer) protected void
setValue
(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()
-