Package org.apache.orc
Interface MemoryManager.Callback
- All Known Implementing Classes:
WriterImpl
,WriterImplV2
- Enclosing interface:
- MemoryManager
public static interface MemoryManager.Callback
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkMemory
(double newScale) The scale factor for the stripe size has changed and thus the writer should adjust their desired size appropriately.
-
Method Details
-
checkMemory
The scale factor for the stripe size has changed and thus the writer should adjust their desired size appropriately.- Parameters:
newScale
- the current scale factor for memory allocations- Returns:
- true if the writer was over the limit
- Throws:
IOException
-