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

Method checkMemory

java/core/src/java/org/apache/orc/MemoryManager.java:44–44  ·  view source on GitHub ↗

The scale factor for the stripe size has changed and thus the writer should adjust their desired size appropriately. @param newScale the current scale factor for memory allocations @return true if the writer was over the limit

(double newScale)

Source from the content-addressed store, hash-verified

42 * @return true if the writer was over the limit
43 */
44 boolean checkMemory(double newScale) throws IOException;
45 }
46
47 /**

Callers 3

testCallbackMethod · 0.65
checkMemoryMethod · 0.65
addRowBatchMethod · 0.65

Implementers 3

NullCallbackjava/core/src/test/org/apache/orc/impl
MemoryManagerImpljava/core/src/java/org/apache/orc/impl
WriterImpljava/core/src/java/org/apache/orc/impl

Calls

no outgoing calls

Tested by 1

testCallbackMethod · 0.52