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

Method AddStream

be/src/exec/scanner-context.cc:89–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89ScannerContext::Stream* ScannerContext::AddStream(ScanRange* range, int64_t reservation) {
90 streams_.emplace_back(new Stream(this, range, reservation,
91 scan_node_->GetFileDesc(partition_desc_->id(), range->file())));
92 return streams_.back().get();
93}
94
95Status ScannerContext::AddAndStartStream(
96 ScanRange* range, int64_t reservation, ScannerContext::Stream** stream) {

Callers 2

ProcessSplitMethod · 0.80
GetNextMethod · 0.80

Calls 4

getMethod · 0.65
GetFileDescMethod · 0.45
idMethod · 0.45
fileMethod · 0.45

Tested by

no test coverage detected