Package org.apache.iceberg.aliyun.oss
Class OSSOutputStream
java.lang.Object
java.io.OutputStream
org.apache.iceberg.io.PositionOutputStream
org.apache.iceberg.aliyun.oss.OSSOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Method Summary
Methods inherited from class org.apache.iceberg.io.PositionOutputStream
storedLengthMethods inherited from class java.io.OutputStream
nullOutputStream, write
-
Method Details
-
getPos
public long getPos()Description copied from class:PositionOutputStreamReturn the current position in the OutputStream.- Specified by:
getPosin classPositionOutputStream- Returns:
- current position in bytes from the start of the stream
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
finalize
-