Package org.apache.iceberg.encryption
Class AesGcmOutputStream
java.lang.Object
java.io.OutputStream
org.apache.iceberg.io.PositionOutputStream
org.apache.iceberg.encryption.AesGcmOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
- 
Method SummaryMethods inherited from class java.io.OutputStreamnullOutputStream, write
- 
Method Details- 
write- Specified by:
- writein class- OutputStream
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
getPosDescription copied from class:PositionOutputStreamReturn the current position in the OutputStream.- Specified by:
- getPosin class- PositionOutputStream
- Returns:
- current position in bytes from the start of the stream
- Throws:
- IOException- If the underlying stream throws IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- OutputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- OutputStream
- Throws:
- IOException
 
- 
storedLengthDescription copied from class:PositionOutputStreamReturn the current stored length of the output. Can differ from the current position for encrypting streams, and for other non-length-preserving streams.- Overrides:
- storedLengthin class- PositionOutputStream
- Returns:
- current stored length in bytes
- Throws:
- IOException- If the underlying stream throws IOException
 
 
-