Package org.apache.iceberg.encryption
Class AesGcmInputFile
- java.lang.Object
-
- org.apache.iceberg.encryption.AesGcmInputFile
-
-
Constructor Summary
Constructors Constructor Description AesGcmInputFile(InputFile sourceFile, byte[] dataKey, byte[] fileAADPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()Checks whether the file exists.longgetLength()Returns the total length of the file, in bytesjava.lang.Stringlocation()The fully-qualified location of the input file as a String.SeekableInputStreamnewStream()Opens a newSeekableInputStreamfor the underlying data file
-
-
-
Constructor Detail
-
AesGcmInputFile
public AesGcmInputFile(InputFile sourceFile, byte[] dataKey, byte[] fileAADPrefix)
-
-
Method Detail
-
getLength
public long getLength()
Description copied from interface:InputFileReturns the total length of the file, in bytes
-
newStream
public SeekableInputStream newStream()
Description copied from interface:InputFileOpens a newSeekableInputStreamfor the underlying data file
-
location
public java.lang.String location()
Description copied from interface:InputFileThe fully-qualified location of the input file as a String.
-
-