@InterfaceAudience.Private @InterfaceStability.Evolving public class S3AOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
S3AOutputStream(org.apache.hadoop.conf.Configuration conf,
S3AFileSystem fs,
String key,
org.apache.hadoop.util.Progressable progress) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic S3AOutputStream(org.apache.hadoop.conf.Configuration conf,
S3AFileSystem fs,
String key,
org.apache.hadoop.util.Progressable progress)
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 © 2017 Apache Software Foundation. All Rights Reserved.