Package org.apache.iceberg.encryption
Interface NativeEncryptionOutputFile
- All Superinterfaces:
 EncryptedOutputFile,OutputFile
An 
EncryptedOutputFile that can be used for format-native encryption.- 
Method Summary
Modifier and TypeMethodDescriptiondefault PositionOutputStreamcreate()Create a new file and return aPositionOutputStreamto it.default PositionOutputStreamCreate a new file and return aPositionOutputStreamto it.Metadata about the encryption key that is being used to encrypt the associatedEncryptedOutputFile.encryptingOutputFile().default Stringlocation()Return the location this output file will create.AnOutputFileinstance for the underlying (plaintext) output stream.default InputFileReturn anInputFilefor the location of this output file.Methods inherited from interface org.apache.iceberg.encryption.EncryptedOutputFile
encryptingOutputFile 
- 
Method Details
- 
keyMetadata
NativeEncryptionKeyMetadata keyMetadata()Description copied from interface:EncryptedOutputFileMetadata about the encryption key that is being used to encrypt the associatedEncryptedOutputFile.encryptingOutputFile().- Specified by:
 keyMetadatain interfaceEncryptedOutputFile
 - 
plainOutputFile
OutputFile plainOutputFile()AnOutputFileinstance for the underlying (plaintext) output stream. - 
create
Description copied from interface:OutputFileCreate a new file and return aPositionOutputStreamto it.If the file already exists, this will throw an exception.
- Specified by:
 createin interfaceOutputFile- Returns:
 - an output stream that can report its position
 
 - 
createOrOverwrite
Description copied from interface:OutputFileCreate a new file and return aPositionOutputStreamto it.If the file already exists, this will not throw an exception and will replace the file.
- Specified by:
 createOrOverwritein interfaceOutputFile- Returns:
 - an output stream that can report its position
 
 - 
location
Description copied from interface:OutputFileReturn the location this output file will create.- Specified by:
 locationin interfaceOutputFile- Returns:
 - the location of this output file
 
 - 
toInputFile
Description copied from interface:OutputFileReturn anInputFilefor the location of this output file.- Specified by:
 toInputFilein interfaceOutputFile- Returns:
 - an input file for the location of this output file
 
 
 -