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

Method ReadInt

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

Source from the content-addressed store, hash-verified

126}
127
128inline bool ScannerContext::Stream::ReadInt(int32_t* val, Status* status, bool peek) {
129 uint8_t* bytes;
130 RETURN_IF_FALSE(ReadBytes(sizeof(uint32_t), &bytes, status, peek));
131 *val = ReadWriteUtil::GetInt<uint32_t>(bytes);
132 return true;
133}
134
135inline bool ScannerContext::Stream::ReadVInt(int32_t* value, Status* status) {
136 int64_t vlong;

Callers 7

ProcessRangeMethod · 0.80
ReadFileHeaderMethod · 0.80
ReadBlockHeaderMethod · 0.80
ReadRowGroupHeaderMethod · 0.80
ProcessRangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected