Package org.apache.iceberg.encryption
Class NativeFileCryptoParameters
- java.lang.Object
-
- org.apache.iceberg.encryption.NativeFileCryptoParameters
-
public class NativeFileCryptoParameters extends java.lang.ObjectBarebone encryption parameters, one object per content file. Carries the file encryption key (later, will be extended with column keys and AAD prefix). Applicable only to formats with native encryption support (Parquet and ORC).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNativeFileCryptoParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NativeFileCryptoParameters.Buildercreate(java.nio.ByteBuffer fileKey)Creates the builder.EncryptionAlgorithmencryptionAlgorithm()java.nio.ByteBufferfileKey()
-
-
-
Method Detail
-
create
public static NativeFileCryptoParameters.Builder create(java.nio.ByteBuffer fileKey)
Creates the builder.- Parameters:
fileKey- per-file encryption key. For example, used as "footer key" DEK in Parquet encryption.
-
fileKey
public java.nio.ByteBuffer fileKey()
-
encryptionAlgorithm
public EncryptionAlgorithm encryptionAlgorithm()
-
-