Package org.apache.parquet.io
Class DelegatingPositionOutputStream
java.lang.Object
java.io.OutputStream
org.apache.parquet.io.PositionOutputStream
org.apache.parquet.io.DelegatingPositionOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
DelegatingPositionOutputStream
-
-
Method Details
-
getStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
getPos
Description copied from class:PositionOutputStreamReports the current position of this output stream.- Specified by:
getPosin classPositionOutputStream- Returns:
- a long, the current position in bytes starting from 0
- Throws:
IOException- when the underlying stream throws IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-