public class S3AOutputStream extends OutputStream
| Modifier and Type | Class and Description |
|---|---|
static class |
S3AOutputStream.ProgressableProgressListener |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
S3AOutputStream(org.apache.hadoop.conf.Configuration conf,
com.amazonaws.services.s3.transfer.TransferManager transfers,
S3AFileSystem fs,
String bucket,
String key,
org.apache.hadoop.util.Progressable progress,
com.amazonaws.services.s3.model.CannedAccessControlList cannedACL,
org.apache.hadoop.fs.FileSystem.Statistics statistics,
String serverSideEncryptionAlgorithm) |
public S3AOutputStream(org.apache.hadoop.conf.Configuration conf,
com.amazonaws.services.s3.transfer.TransferManager transfers,
S3AFileSystem fs,
String bucket,
String key,
org.apache.hadoop.util.Progressable progress,
com.amazonaws.services.s3.model.CannedAccessControlList cannedACL,
org.apache.hadoop.fs.FileSystem.Statistics statistics,
String serverSideEncryptionAlgorithm)
throws IOException
IOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.