Class S3OutputStream
java.lang.Object
java.io.OutputStream
org.apache.parquet.io.PositionOutputStream
org.gridgain.internal.sql.copy.s3.S3OutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class S3OutputStream
extends org.apache.parquet.io.PositionOutputStream
Output stream implementation for S3 storage.
-
Constructor Summary
ConstructorsConstructorDescriptionS3OutputStream(software.amazon.awssdk.services.s3.S3Client s3, S3Uri location) Constructor. -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
S3OutputStream
public S3OutputStream(software.amazon.awssdk.services.s3.S3Client s3, S3Uri location) throws IOException Constructor.- Throws:
IOException
-
-
Method Details
-
getPos
public long getPos()- Specified by:
getPosin classorg.apache.parquet.io.PositionOutputStream
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-