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

Method limit_capacity

be/src/runtime/row-batch.h:284–287  ·  view source on GitHub ↗

Set the capacity of the row batch to 'limit' so that only that many rows can be appended to it. The capacity will be restored to its original value when Reset() is called.

Source from the content-addressed store, hash-verified

282 /// appended to it. The capacity will be restored to its original value when Reset()
283 /// is called.
284 void limit_capacity(int limit) {
285 DCHECK_LE(num_rows_, limit);
286 capacity_ = limit;
287 }
288
289 FlushMode flush_mode() const { return flush_mode_; }
290

Callers 5

ProcessSplitMethod · 0.80
GetNextMethod · 0.80
GetNextMethod · 0.80
ProcessSplitMethod · 0.80
ProcessSplitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected