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

Method flush

c++/src/ByteRLE.cc:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 uint64_t ByteRleEncoderImpl::flush() {
137 writeValues();
138 outputStream->BackUp(bufferLength - bufferPosition);
139 uint64_t dataSize = outputStream->flush();
140 bufferLength = bufferPosition = 0;
141 return dataSize;
142 }
143
144 void ByteRleEncoderImpl::write(char value) {
145 if (numLiterals == 0) {

Callers

nothing calls this directly

Calls 2

flushMethod · 0.65
BackUpMethod · 0.45

Tested by

no test coverage detected