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

Method writeValues

c++/src/RleEncoderV2.cc:448–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446 }
447
448 void RleEncoderV2::writeValues(EncodingOption& option) {
449 if (numLiterals != 0) {
450 switch (option.encoding) {
451 case SHORT_REPEAT:
452 writeShortRepeatValues(option);
453 break;
454 case DIRECT:
455 writeDirectValues(option);
456 break;
457 case PATCHED_BASE:
458 writePatchedBasedValues(option);
459 break;
460 case DELTA:
461 writeDeltaValues(option);
462 break;
463 default:
464 throw NotImplementedYet("Not implemented yet");
465 }
466
467 numLiterals = 0;
468 prevDelta_ = 0;
469 }
470 }
471
472 void RleEncoderV2::writeShortRepeatValues(EncodingOption&) {
473 int64_t repeatVal;

Callers

nothing calls this directly

Calls 1

NotImplementedYetClass · 0.85

Tested by

no test coverage detected