Package org.apache.iceberg.encryption
Class NativeFileCryptoParameters
- java.lang.Object
-
- org.apache.iceberg.encryption.NativeFileCryptoParameters
-
public class NativeFileCryptoParameters extends java.lang.Object
Barebone 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 class
NativeFileCryptoParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NativeFileCryptoParameters.Builder
create(java.nio.ByteBuffer fileKey)
Creates the builder.EncryptionAlgorithm
encryptionAlgorithm()
java.nio.ByteBuffer
fileKey()
-
-
-
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()
-
-