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
ConstructorDescriptionRuntimeFilterSink
(DrillbitContext drillbitContext, SendingAccountor sendingAccountor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(RuntimeFilterWritable runtimeFilterWritable) void
close()
void
setJoinMjId2probeScanEps
(Map<Integer, List<CoordinationProtos.DrillbitEndpoint>> joinMjId2probeScanEps) void
setJoinMjId2rfNumber
(Map<Integer, Integer> joinMjId2rfNumber) void
setJoinMjId2ScanMjId
(Map<Integer, Integer> joinMjId2ScanMjId)
-
Constructor Details
-
RuntimeFilterSink
-
-
Method Details
-
add
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
setJoinMjId2rfNumber
-
setJoinMjId2probeScanEps
public void setJoinMjId2probeScanEps(Map<Integer, List<CoordinationProtos.DrillbitEndpoint>> joinMjId2probeScanEps) -
setJoinMjId2ScanMjId
-