Package org.apache.parquet.crypto
Class ColumnDecryptionProperties.Builder
- java.lang.Object
-
- org.apache.parquet.crypto.ColumnDecryptionProperties.Builder
-
- Enclosing class:
- ColumnDecryptionProperties
public static class ColumnDecryptionProperties.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnDecryptionProperties
build()
ColumnDecryptionProperties.Builder
withKey(byte[] columnKey)
Set an explicit column key.
-
-
-
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
-
build
public ColumnDecryptionProperties build()
-
-