Class ColumnDecryptionProperties.Builder

    • Method Detail

      • withKey

        public ColumnDecryptionProperties.Builder withKey​(byte[] columnKey)
        Set an explicit column key. If applied on a file that contains key metadata for this column - the metadata will be ignored, the column will be decrypted with this key. However, if the column was encrypted with the footer key, it will also be decrypted with the footer key, and the column key passed in this method will be ignored.
        Parameters:
        columnKey - Key length must be either 16, 24 or 32 bytes.
        Returns:
        Builder