InStream.StreamOptions (ORC Core 1.6.5 API)
Date: 2020-10-01

org.apache.orc.impl

## Class InStream.StreamOptions

- java.lang.Object
- - org.apache.orc.impl.InStream.StreamOptions

- All Implemented Interfaces:
    Cloneable
  Enclosing class:
    InStream

      public static class InStream.StreamOptions
      extends Object
      implements Cloneable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamOptions()`
    `StreamOptions(InStream.StreamOptions other)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `InStream.StreamOptions` | `clone()`
    `EncryptionAlgorithm` | `getAlgorithm()`
    `int` | `getBufferSize()`
    `CompressionCodec` | `getCodec()`
    `byte[]` | `getIv()`
    `Key` | `getKey()`
    `boolean` | `isCompressed()`
    `String` | `toString()`
    `InStream.StreamOptions` | `withBufferSize(int value)`
    `InStream.StreamOptions` | `withCodec(CompressionCodec value)`
    `InStream.StreamOptions` | `withEncryption(EncryptionAlgorithm algorithm, Key key, byte[] iv)`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StreamOptions

          public StreamOptions(InStream.StreamOptions other)

    - #### StreamOptions

          public StreamOptions()

  - ### Method Detail

    - #### withCodec

          public InStream.StreamOptions withCodec(CompressionCodec value)

    - #### withBufferSize

          public InStream.StreamOptions withBufferSize(int value)

    - #### withEncryption

          public InStream.StreamOptions withEncryption(EncryptionAlgorithm algorithm,
                                                       Key key,
                                                       byte[] iv)

    - #### isCompressed

          public boolean isCompressed()

    - #### getCodec

          public CompressionCodec getCodec()

    - #### getBufferSize

          public int getBufferSize()

    - #### getAlgorithm

          public EncryptionAlgorithm getAlgorithm()

    - #### getKey

          public Key getKey()

    - #### getIv

          public byte[] getIv()

    - #### clone

          public InStream.StreamOptions clone()

      Overrides:
        `clone` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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