MCPcopy Create free account
hub / github.com/apache/impala / AddBuildBatch

Method AddBuildBatch

be/src/exec/nested-loop-join-builder.h:109–117  ·  view source on GitHub ↗

Add a batch to the build side. Does not copy the data, so either resources must be owned by the batch (or a later batch), or DeepCopyBuildBatches() must be called before the referenced resources are released. Exposed so that NestedLoopJoinNode can bypass the DataSink interface for efficiency.

Source from the content-addressed store, hash-verified

107 /// before the referenced resources are released.
108 /// Exposed so that NestedLoopJoinNode can bypass the DataSink interface for efficiency.
109 inline void AddBuildBatch(RowBatch* batch) {
110 input_build_batches_.AddRowBatch(batch);
111 if (filter_ctxs_.size() > 0) {
112 FOREACH_ROW(batch, 0, build_batch_iter) {
113 TupleRow* build_row = build_batch_iter.Get();
114 InsertRuntimeFilters(filter_ctxs_.data(), build_row);
115 }
116 }
117 }
118
119 /// Return a pointer to the final list of build batches.
120 /// Only valid to call after FlushFinal() has been called. The returned build batches

Callers 1

Calls 5

FOREACH_ROWFunction · 0.85
AddRowBatchMethod · 0.80
sizeMethod · 0.45
GetMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected