Package org.apache.iceberg.encryption
Interface EncryptedOutputFile
-
- All Known Subinterfaces:
NativeEncryptionOutputFile
public interface EncryptedOutputFile
Thin wrapper around aOutputFile
that is encrypting bytes written to the underlying file system, via an encryption key that is symbolized by the enclosedEncryptionKeyMetadata
.The
EncryptionManager
returns instances of these when passed output files that should be encrypted as they are being written to the backing file system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputFile
encryptingOutputFile()
An OutputFile instance that encrypts the bytes that are written to its output streams.EncryptionKeyMetadata
keyMetadata()
Metadata about the encryption key that is being used to encrypt the associatedencryptingOutputFile()
.
-
-
-
Method Detail
-
encryptingOutputFile
OutputFile encryptingOutputFile()
An OutputFile instance that encrypts the bytes that are written to its output streams.
-
keyMetadata
EncryptionKeyMetadata keyMetadata()
Metadata about the encryption key that is being used to encrypt the associatedencryptingOutputFile()
.
-
-