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

Method MoveToNextJson

be/src/exec/json/json-parser.cc:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77template <class Scanner>
78bool JsonParser<Scanner>::MoveToNextJson() {
79 while (!stream_.Eos()) {
80 if (stream_.Take() == '\n') {
81 return true;
82 }
83 }
84 return false;
85}
86
87template <class Scanner>
88Status JsonParser<Scanner>::Parse(int max_rows, int* num_rows) {

Callers 1

FindFirstTupleMethod · 0.80

Calls 2

EosMethod · 0.45
TakeMethod · 0.45

Tested by

no test coverage detected