Package org.apache.iceberg.encryption
Class AesGcmOutputFile
java.lang.Object
org.apache.iceberg.encryption.AesGcmOutputFile
- All Implemented Interfaces:
- OutputFile
- 
Constructor SummaryConstructorsConstructorDescriptionAesGcmOutputFile(OutputFile targetFile, byte[] dataKey, byte[] fileAADPrefix) 
- 
Method SummaryModifier and TypeMethodDescriptioncreate()Create a new file and return aPositionOutputStreamto it.Create a new file and return aPositionOutputStreamto it.location()Return the location this output file will create.Return anInputFilefor the location of this output file.
- 
Constructor Details- 
AesGcmOutputFile
 
- 
- 
Method Details- 
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
 
 
-