MemoryManager.Callback (ORC Core 1.6.6 API)
Date: 2021-01-13

org.apache.orc

## Interface MemoryManager.Callback

- All Known Implementing Classes:
    WriterImpl, WriterImplV2
  Enclosing interface:
    MemoryManager

      public static interface MemoryManager.Callback

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `checkMemory(double newScale)` The scale factor for the stripe size has changed and thus the writer should adjust their desired size appropriately.

- - ### Method Detail

    - #### checkMemory

          boolean checkMemory(double newScale)
                       throws IOException

      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`

Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.