public class HadoopDataOutputStream
extends org.apache.flink.core.fs.FSDataOutputStream
| Constructor and Description |
|---|
HadoopDataOutputStream(org.apache.hadoop.fs.FSDataOutputStream fdos) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
org.apache.hadoop.fs.FSDataOutputStream |
getHadoopOutputStream()
Gets the wrapped Hadoop output stream.
|
void |
sync() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic HadoopDataOutputStream(org.apache.hadoop.fs.FSDataOutputStream fdos)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class org.apache.flink.core.fs.FSDataOutputStreamIOExceptionpublic void sync()
throws IOException
sync in class org.apache.flink.core.fs.FSDataOutputStreamIOExceptionpublic org.apache.hadoop.fs.FSDataOutputStream getHadoopOutputStream()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.