public class HdfsOutputStream extends Object implements Closeable
| Modifier | Constructor and Description |
|---|---|
protected |
HdfsOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Object key,
Object value,
org.apache.camel.Exchange exchange) |
void |
close() |
static HdfsOutputStream |
createOutputStream(String hdfsPath,
org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) |
String |
getActualPath() |
long |
getLastAccess() |
long |
getNumOfWrittenBytes() |
long |
getNumOfWrittenMessages() |
Closeable |
getOut() |
AtomicBoolean |
isBusy() |
public static HdfsOutputStream createOutputStream(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic long getNumOfWrittenBytes()
public long getNumOfWrittenMessages()
public long getLastAccess()
public String getActualPath()
public AtomicBoolean isBusy()
public Closeable getOut()
Apache Camel