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

Method FullScan

be/src/exec/row-batch-list-test.cc:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void FullScan(RowBatchList* list, int start, int end) {
87 EXPECT_LT(start, end);
88 RowBatchList::TupleRowIterator it = list->Iterator();
89 int i = start;
90 while (!it.AtEnd()) {
91 EXPECT_TRUE(it.GetRow() != NULL);
92 ValidateMatch(it.GetRow(), i);
93 it.Next();
94 ++i;
95 }
96 EXPECT_EQ(end, i - 1);
97 }
98};
99
100// This tests inserts the rows [0->5] to list. It validates that they are all there.

Callers

nothing calls this directly

Calls 4

IteratorMethod · 0.45
AtEndMethod · 0.45
GetRowMethod · 0.45
NextMethod · 0.45

Tested by

no test coverage detected