StringRedBlackTree.VisitorContext (ORC Core 1.6.6 API)
Date: 2021-01-13

org.apache.orc.impl

## Interface StringRedBlackTree.VisitorContext

- Enclosing class:
    StringRedBlackTree

      public static interface StringRedBlackTree.VisitorContext

  The information about each node.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getLength()` Get the number of bytes.
    `int` | `getOriginalPosition()` Get the position where the key was originally added.
    `Text` | `getText()` Get the original string.
    `void` | `writeBytes(OutputStream out)` Write the bytes for the string to the given output stream.

- - ### Method Detail

    - #### getOriginalPosition

          int getOriginalPosition()

      Get the position where the key was originally added.
      Returns:
        the number returned by add.

    - #### writeBytes

          void writeBytes(OutputStream out)
                   throws IOException

      Write the bytes for the string to the given output stream.
      Parameters:
        `out` - the stream to write to.
      Throws:
        `IOException`

    - #### getText

          Text getText()

      Get the original string.
      Returns:
        the string

    - #### getLength

          int getLength()

      Get the number of bytes.
      Returns:
        the string's length in bytes

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