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

Method SkipText

be/src/exec/scanner-context.inline.h:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103inline bool ScannerContext::Stream::SkipText(Status* status) {
104 int64_t len;
105 RETURN_IF_FALSE(ReadVLong(&len, status));
106 if (len < 0) {
107 *status = Status("SkipText: length is negative");
108 return false;
109 }
110 RETURN_IF_FALSE(SkipBytes(len, status));
111 return true;
112}
113
114inline bool ScannerContext::Stream::ReadText(uint8_t** buf, int64_t* len,
115 Status* status) {

Callers 2

ReadFileHeaderMethod · 0.80
ReadCompressedBlockMethod · 0.80

Calls 1

StatusClass · 0.70

Tested by

no test coverage detected