Package org.apache.iceberg.encryption
Class AesGcmOutputFile
java.lang.Object
org.apache.iceberg.encryption.AesGcmOutputFile
- All Implemented Interfaces:
 OutputFile
- 
Constructor Summary
ConstructorsConstructorDescriptionAesGcmOutputFile(OutputFile targetFile, byte[] dataKey, byte[] fileAADPrefix)  - 
Method Summary
Modifier 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
- 
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
 
 
 -