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

Method SkipNull

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

Source from the content-addressed store, hash-verified

281
282template<class Stream>
283bool JsonSkipper<Stream>::SkipNull() {
284 DCHECK(s_.Peek() == 'n');
285 s_.Take();
286 ERROR_IF_FALSE(Consume('u'), kParseErrorValueInvalid);
287 ERROR_IF_FALSE(Consume('l'), kParseErrorValueInvalid);
288 ERROR_IF_FALSE(Consume('l'), kParseErrorValueInvalid);
289 return true;
290}
291
292template<class Stream>
293bool JsonSkipper<Stream>::SkipTrue() {

Callers 1

TestSkipMethod · 0.80

Calls 2

PeekMethod · 0.45
TakeMethod · 0.45

Tested by 1

TestSkipMethod · 0.64