Uses of Class org.apache.orc.impl.writer.WriterEncryptionVariant (ORC Core 1.6.5 API)
Date: 2020-10-01

## Uses of Class
org.apache.orc.impl.writer.WriterEncryptionVariant

- Packages that use WriterEncryptionVariant
  Package | Description
  --- | ---
  org.apache.orc |
  org.apache.orc.impl |
  org.apache.orc.impl.writer |

- - ### Uses of WriterEncryptionVariant in org.apache.orc

    Methods in org.apache.orc with parameters of type WriterEncryptionVariant
    Modifier and Type | Method and Description
    --- | ---
    `long` | PhysicalWriter.`getFileBytes(int column, WriterEncryptionVariant variant)` Get the number of bytes for a file in a givem column.

  - ### Uses of WriterEncryptionVariant in org.apache.orc.impl

    Methods in org.apache.orc.impl with parameters of type WriterEncryptionVariant
    Modifier and Type | Method and Description
    --- | ---
    `long` | PhysicalFsWriter.`getFileBytes(int column, WriterEncryptionVariant variant)` Get the number of bytes for a file in a given column by finding all the streams (not suppressed) for a given column and returning the sum of their sizes.

    Constructors in org.apache.orc.impl with parameters of type WriterEncryptionVariant
    Constructor and Description
    `PhysicalFsWriter(FileSystem fs, Path path, OrcFile.WriterOptions opts, WriterEncryptionVariant[] encryption)`

  - ### Uses of WriterEncryptionVariant in org.apache.orc.impl.writer

    Fields in org.apache.orc.impl.writer declared as WriterEncryptionVariant
    Modifier and Type | Field and Description
    --- | ---
    `protected WriterEncryptionVariant` | TreeWriterBase.`encryption`

    Methods in org.apache.orc.impl.writer that return WriterEncryptionVariant
    Modifier and Type | Method and Description
    --- | ---
    `WriterEncryptionVariant` | WriterContext.`getEncryption(int columnId)` Get the encryption for the given column.
    `WriterEncryptionVariant[]` | WriterEncryptionKey.`getEncryptionRoots()`

    Methods in org.apache.orc.impl.writer with parameters of type WriterEncryptionVariant
    Modifier and Type | Method and Description
    --- | ---
    `void` | WriterEncryptionKey.`addRoot(WriterEncryptionVariant root)`
    `static TreeWriter` | TreeWriter.Factory.`create(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext streamFactory)` Create a new tree writer for the given types and insert encryption if required.
    `void` | WriterContext.`setEncoding(int column, WriterEncryptionVariant variant, OrcProto.ColumnEncoding encoding)` Set the encoding for the current stripe.

    Constructors in org.apache.orc.impl.writer with parameters of type WriterEncryptionVariant
    Constructor and Description
    `BinaryTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `BooleanTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `ByteTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `DateTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `Decimal64TreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `DecimalTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `DoubleTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `FloatTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `IntegerTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `StructTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer)`
    `TimestampTreeWriter(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext writer, boolean instantType)`

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