Class FileCryptoMetaData

    • Field Detail

      • encryption_algorithm

        public EncryptionAlgorithm encryption_algorithm
        Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure).
      • key_metadata

        public ByteBuffer key_metadata
        Retrieval metadata of key used for encryption of footer, and (possibly) columns *
    • Constructor Detail

      • FileCryptoMetaData

        public FileCryptoMetaData()
      • FileCryptoMetaData

        public FileCryptoMetaData​(FileCryptoMetaData other)
        Performs a deep copy on other.
    • Method Detail

      • getEncryption_algorithm

        public EncryptionAlgorithm getEncryption_algorithm()
        Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure).
      • setEncryption_algorithm

        public FileCryptoMetaData setEncryption_algorithm​(EncryptionAlgorithm encryption_algorithm)
        Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure).
      • unsetEncryption_algorithm

        public void unsetEncryption_algorithm()
      • isSetEncryption_algorithm

        public boolean isSetEncryption_algorithm()
        Returns true if field encryption_algorithm is set (has been assigned a value) and false otherwise
      • setEncryption_algorithmIsSet

        public void setEncryption_algorithmIsSet​(boolean value)
      • getKey_metadata

        public byte[] getKey_metadata()
        Retrieval metadata of key used for encryption of footer, and (possibly) columns *
      • bufferForKey_metadata

        public ByteBuffer bufferForKey_metadata()
      • setKey_metadata

        public FileCryptoMetaData setKey_metadata​(byte[] key_metadata)
        Retrieval metadata of key used for encryption of footer, and (possibly) columns *
      • unsetKey_metadata

        public void unsetKey_metadata()
      • isSetKey_metadata

        public boolean isSetKey_metadata()
        Returns true if field key_metadata is set (has been assigned a value) and false otherwise
      • setKey_metadataIsSet

        public void setKey_metadataIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException