IntegerWriter (ORC Core 1.6.6 API)
Date: 2021-01-13

org.apache.orc.impl

## Interface IntegerWriter

- All Known Implementing Classes:
    RunLengthIntegerWriter, RunLengthIntegerWriterV2

      public interface IntegerWriter

  Interface for writing integers.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `changeIv(Consumer<byte[]> modifier)`
    `long` | `estimateMemory()` Estimate the amount of memory being used.
    `void` | `flush()` Flush the buffer
    `void` | `getPosition(PositionRecorder recorder)` Get position from the stream.
    `void` | `write(long value)` Write the integer value

- - ### Method Detail

    - #### getPosition

          void getPosition(PositionRecorder recorder)
                    throws IOException

      Get position from the stream.
      Parameters:
        `recorder` -
      Throws:
        `IOException`

    - #### write

          void write(long value)
              throws IOException

      Write the integer value
      Parameters:
        `value` -
      Throws:
        `IOException`

    - #### flush

          void flush()
              throws IOException

      Flush the buffer
      Throws:
        `IOException`

    - #### estimateMemory

          long estimateMemory()

      Estimate the amount of memory being used.
      Returns:
        number of bytes

    - #### changeIv

          void changeIv(Consumer<byte[]> modifier)

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