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

Method getBufferSize

java/core/src/java/org/apache/orc/impl/OutStream.java:443–454  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441 }
442
443 @Override
444 public long getBufferSize() {
445 if (codec == null) {
446 return uncompressedBytes + (current == null ? 0 : current.remaining());
447 } else {
448 long result = 0;
449 if (current != null) {
450 result += current.capacity();
451 }
452 return result + compressedBuffer.getCapacity() + compressedBytes;
453 }
454 }
455
456 /**
457 * Set suppress flag

Callers 11

testFlushMethod · 0.45
createRowIndexMethod · 0.45
estimateMemoryMethod · 0.45
estimateMemoryMethod · 0.45
PhysicalFsWriterMethod · 0.45
OutStreamMethod · 0.45
estimateMemoryMethod · 0.45
WriterImplMethod · 0.45
writePostScriptMethod · 0.45

Calls 2

getCapacityMethod · 0.80
capacityMethod · 0.45

Tested by 3

testFlushMethod · 0.36
createRowIndexMethod · 0.36