MCPcopy Create free account
hub / github.com/apache/orc / readBuffer

Method readBuffer

c++/src/ColumnReader.cc:1289–1298  ·  view source on GitHub ↗

* Read the valueStream for more bytes. */

Source from the content-addressed store, hash-verified

1287 * Read the valueStream for more bytes.
1288 */
1289 void readBuffer() {
1290 while (buffer == bufferEnd) {
1291 int length;
1292 if (!valueStream->Next(reinterpret_cast<const void**>(&buffer), &length)) {
1293 throw ParseError("Read past end of stream in Decimal64ColumnReader " +
1294 valueStream->getName());
1295 }
1296 bufferEnd = buffer + length;
1297 }
1298 }
1299
1300 void readInt64(int64_t& value, int32_t currentScale) {
1301 value = 0;

Callers

nothing calls this directly

Calls 3

ParseErrorClass · 0.85
getNameMethod · 0.65
NextMethod · 0.45

Tested by

no test coverage detected