Package org.apache.iceberg.encryption
Interface NativeEncryptionOutputFile
- All Superinterfaces:
- EncryptedOutputFile,- OutputFile
An 
EncryptedOutputFile that can be used for format-native encryption.- 
Method SummaryModifier 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.EncryptedOutputFileencryptingOutputFile
- 
Method Details- 
keyMetadataNativeEncryptionKeyMetadata keyMetadata()Description copied from interface:EncryptedOutputFileMetadata about the encryption key that is being used to encrypt the associatedEncryptedOutputFile.encryptingOutputFile().- Specified by:
- keyMetadatain interface- EncryptedOutputFile
 
- 
plainOutputFileOutputFile plainOutputFile()AnOutputFileinstance for the underlying (plaintext) output stream.
- 
createDescription copied from interface:OutputFileCreate a new file and return aPositionOutputStreamto it.If the file already exists, this will throw an exception. - Specified by:
- createin interface- OutputFile
- Returns:
- an output stream that can report its position
 
- 
createOrOverwriteDescription 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 interface- OutputFile
- Returns:
- an output stream that can report its position
 
- 
locationDescription copied from interface:OutputFileReturn the location this output file will create.- Specified by:
- locationin interface- OutputFile
- Returns:
- the location of this output file
 
- 
toInputFileDescription copied from interface:OutputFileReturn anInputFilefor the location of this output file.- Specified by:
- toInputFilein interface- OutputFile
- Returns:
- an input file for the location of this output file
 
 
-