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

Method DebugString

be/src/exec/row-batch-list.h:120–131  ·  view source on GitHub ↗

Outputs a debug string containing the contents of the list.

Source from the content-addressed store, hash-verified

118
119 /// Outputs a debug string containing the contents of the list.
120 std::string DebugString(const RowDescriptor& desc) {
121 std::stringstream out;
122 out << "RowBatchList(";
123 out << "num_rows=" << total_num_rows_ << "; ";
124 RowBatchList::TupleRowIterator it = Iterator();
125 while (!it.AtEnd()) {
126 out << " " << PrintRow(it.GetRow(), desc);
127 it.Next();
128 }
129 out << " )";
130 return out.str();
131 }
132
133 /// Returns the total number of rows in all row batches.
134 int64_t total_num_rows() { return total_num_rows_; }

Callers

nothing calls this directly

Calls 6

PrintRowFunction · 0.85
IteratorClass · 0.70
AtEndMethod · 0.45
GetRowMethod · 0.45
NextMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected