File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/query/service/src/pipelines/processors/transforms/new_hash_join Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,22 @@ pub trait JoinStream: Send + Sync {
2424}
2525
2626pub trait Join : Send + Sync + ' static {
27+ /// Push one block into the build side. `None` signals the end of input.
2728 fn add_block ( & mut self , data : Option < DataBlock > ) -> Result < ( ) > ;
2829
30+ /// Finalize build phase in chunks; each call processes the next pending build batch and
31+ /// returns its progress. Once all batches are consumed it returns `None` to signal completion.
2932 fn final_build ( & mut self ) -> Result < Option < ProgressValues > > ;
3033
34+ /// Generate runtime filter packet for the given filter description.
3135 fn build_runtime_filter ( & self , _: & RuntimeFiltersDesc ) -> Result < JoinRuntimeFilterPacket > {
3236 Ok ( JoinRuntimeFilterPacket :: default ( ) )
3337 }
3438
39+ /// Probe with a single block and return a streaming iterator over results.
3540 fn probe_block ( & mut self , data : DataBlock ) -> Result < Box < dyn JoinStream + ' _ > > ;
3641
42+ /// Final steps after probing all blocks; used when more output is pending.
3743 fn final_probe ( & mut self ) -> Result < Option < Box < dyn JoinStream + ' _ > > > {
3844 Ok ( None )
3945 }
You can’t perform that action at this time.
0 commit comments