Package io.trino.filesystem.gcs
Class GcsOutputStream
java.lang.Object
java.io.OutputStream
io.trino.filesystem.gcs.GcsOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionGcsOutputStream(io.trino.filesystem.gcs.GcsLocation location, com.google.cloud.WriteChannel writeChannel, AggregatedMemoryContext memoryContext, long writeBlockSizeBytes) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
GcsOutputStream
public GcsOutputStream(io.trino.filesystem.gcs.GcsLocation location, com.google.cloud.WriteChannel writeChannel, AggregatedMemoryContext memoryContext, long writeBlockSizeBytes)
-
-
Method Details
-
write
- Specified by:
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
-