Class RuntimeFilterSink
java.lang.Object
org.apache.drill.exec.work.filter.RuntimeFilterSink
- All Implemented Interfaces:
Closeable,AutoCloseable
This sink receives the RuntimeFilters from the netty thread,
aggregates them in an async thread, broadcast the final aggregated
one to the RuntimeFilterRecordBatch.
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeFilterSink(DrillbitContext drillbitContext, SendingAccountor sendingAccountor) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(RuntimeFilterWritable runtimeFilterWritable) voidclose()voidsetJoinMjId2probeScanEps(Map<Integer, List<CoordinationProtos.DrillbitEndpoint>> joinMjId2probeScanEps) voidsetJoinMjId2rfNumber(Map<Integer, Integer> joinMjId2rfNumber) voidsetJoinMjId2ScanMjId(Map<Integer, Integer> joinMjId2ScanMjId)
-
Constructor Details
-
RuntimeFilterSink
-
-
Method Details
-
add
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
setJoinMjId2rfNumber
-
setJoinMjId2probeScanEps
public void setJoinMjId2probeScanEps(Map<Integer, List<CoordinationProtos.DrillbitEndpoint>> joinMjId2probeScanEps) -
setJoinMjId2ScanMjId
-