Package io.trino.filesystem.gcs
Class GcsOutputFile
java.lang.Object
io.trino.filesystem.gcs.GcsOutputFile
- All Implemented Interfaces:
TrinoOutputFile
-
Constructor Summary
ConstructorsConstructorDescriptionGcsOutputFile(io.trino.filesystem.gcs.GcsLocation location, com.google.cloud.storage.Storage storage, long writeBlockSizeBytes) -
Method Summary
Modifier and TypeMethodDescriptioncreate(AggregatedMemoryContext memoryContext) voidcreateExclusive(byte[] data) voidcreateOrOverwrite(byte[] data) location()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.filesystem.TrinoOutputFile
create
-
Constructor Details
-
GcsOutputFile
public GcsOutputFile(io.trino.filesystem.gcs.GcsLocation location, com.google.cloud.storage.Storage storage, long writeBlockSizeBytes)
-
-
Method Details
-
createOrOverwrite
- Specified by:
createOrOverwritein interfaceTrinoOutputFile- Throws:
IOException
-
createExclusive
- Specified by:
createExclusivein interfaceTrinoOutputFile- Throws:
IOException
-
create
- Specified by:
createin interfaceTrinoOutputFile- Throws:
IOException
-
location
- Specified by:
locationin interfaceTrinoOutputFile
-