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

Method ScratchTupleBatch

be/src/exec/scratch-tuple-batch.h:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 boost::scoped_array<bool> selected_rows;
84
85 ScratchTupleBatch(
86 const RowDescriptor& row_desc, int batch_size, MemTracker* mem_tracker)
87 : capacity(batch_size),
88 tuple_byte_size(row_desc.GetRowSize()),
89 tuple_mem_pool(mem_tracker),
90 aux_mem_pool(mem_tracker),
91 selected_rows(new bool[batch_size]) {
92 DCHECK_EQ(row_desc.tuple_descriptors().size(), 1);
93 }
94
95 Status Reset(RuntimeState* state) {
96 tuple_idx = 0;

Callers

nothing calls this directly

Calls 2

GetRowSizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected