Class HadoopPositionOutputStream
Object
java.io.OutputStream
io.delta.kernel.defaults.engine.fileio.PositionOutputStream
io.delta.kernel.defaults.engine.hadoopio.HadoopPositionOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionHadoopPositionOutputStream(org.apache.hadoop.fs.FSDataOutputStream delegateStream) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
HadoopPositionOutputStream
public HadoopPositionOutputStream(org.apache.hadoop.fs.FSDataOutputStream delegateStream)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
getPos
Description copied from class:PositionOutputStreamGet the current position in the stream.- Specified by:
getPosin classPositionOutputStream- Returns:
- the current position in bytes from the start of the stream
- Throws:
IOException
-