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

Method write

java/core/src/java/org/apache/orc/impl/OutStream.java:221–231  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

219 }
220
221 @Override
222 public void write(int i) throws IOException {
223 if (current == null) {
224 getNewInputBuffer();
225 }
226 if (current.remaining() < 1) {
227 spill();
228 }
229 uncompressedBytes += 1;
230 current.put((byte) i);
231 }
232
233 @Override
234 public void write(byte[] bytes, int offset, int length) throws IOException {

Callers

nothing calls this directly

Calls 3

getNewInputBufferMethod · 0.95
spillMethod · 0.95
putMethod · 0.80

Tested by

no test coverage detected