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
storedLength
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Method Details
-
getPos
public long getPos()Description copied from class:PositionOutputStream
Return the current position in the OutputStream.- Specified by:
getPos
in classPositionOutputStream
- Returns:
- current position in bytes from the start of the stream
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
finalize
-