Package org.apache.iceberg.encryption
Class AesGcmInputStream
java.lang.Object
java.io.InputStream
org.apache.iceberg.io.SeekableInputStream
org.apache.iceberg.encryption.AesGcmInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Method Details
-
available
public int available()- Overrides:
availablein classInputStream
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
seek
Description copied from class:SeekableInputStreamSeek to a new position in the InputStream.- Specified by:
seekin classSeekableInputStream- Parameters:
newPos- the new position to seek to- Throws:
IOException- If the underlying stream throws IOException
-
skip
public long skip(long n) - Overrides:
skipin classInputStream
-
getPos
Description copied from class:SeekableInputStreamReturn the current position in the InputStream.- Specified by:
getPosin classSeekableInputStream- Returns:
- current position in bytes from the start of the stream
- Throws:
IOException- If the underlying stream throws IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-