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

Method GetNextEmptyBatch

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

Returns the next build batch that should be filled and passed to AddBuildBatch(). Exposed so that NestedLoopJoinNode can bypass the DataSink interface for efficiency.

Source from the content-addressed store, hash-verified

99 /// Returns the next build batch that should be filled and passed to AddBuildBatch().
100 /// Exposed so that NestedLoopJoinNode can bypass the DataSink interface for efficiency.
101 inline RowBatch* GetNextEmptyBatch() {
102 return build_batch_cache_.GetNextBatch(mem_tracker_.get());
103 }
104
105 /// Add a batch to the build side. Does not copy the data, so either resources must
106 /// be owned by the batch (or a later batch), or DeepCopyBuildBatches() must be called

Callers 1

Calls 2

getMethod · 0.65
GetNextBatchMethod · 0.45

Tested by

no test coverage detected