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 boolean
exists()
Checks whether the file exists.long
getLength()
Returns the total length of the file, in bytesjava.lang.String
location()
The fully-qualified location of the input file as a String.SeekableInputStream
newStream()
Opens a newSeekableInputStream
for 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:InputFile
Returns the total length of the file, in bytes
-
newStream
public SeekableInputStream newStream()
Description copied from interface:InputFile
Opens a newSeekableInputStream
for the underlying data file
-
location
public java.lang.String location()
Description copied from interface:InputFile
The fully-qualified location of the input file as a String.
-
-