HadoopShims.LocalKey (ORC Shims 1.5.6 API)
Date: 2019-06-27

org.apache.orc.impl

## Class HadoopShims.LocalKey

- java.lang.Object
- - org.apache.orc.impl.HadoopShims.LocalKey

- Enclosing interface:
    HadoopShims

      public static class HadoopShims.LocalKey
      extends Object

  When a local key is created, the user gets both the encrypted and unencrypted versions. The decrypted key is used to write the file, while the encrypted key is stored in the metadata. Thus, readers need to decrypt the local key in order to use it.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Key` | `decryptedKey`
    `byte[]` | `encryptedKey`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalKey(Key decryptedKey, byte[] encryptedKey)`

  - ### Method Summary

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

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

- - ### Field Detail

    - #### decryptedKey

          public final Key decryptedKey

    - #### encryptedKey

          public final byte[] encryptedKey

  - ### Constructor Detail

    - #### LocalKey

          public LocalKey(Key decryptedKey,
                          byte[] encryptedKey)

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