Class HdfsOutputStream

java.lang.Object
org.apache.camel.component.hdfs.HdfsOutputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class HdfsOutputStream extends Object implements Closeable
  • Constructor Details

    • HdfsOutputStream

      protected HdfsOutputStream()
  • Method Details

    • createOutputStream

      public static HdfsOutputStream createOutputStream(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) throws IOException
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • append

      public void append(Object key, Object value, org.apache.camel.Exchange exchange)
    • getNumOfWrittenBytes

      public long getNumOfWrittenBytes()
    • getNumOfWrittenMessages

      public long getNumOfWrittenMessages()
    • getLastAccess

      public long getLastAccess()
    • getActualPath

      public String getActualPath()
    • isBusy

      public AtomicBoolean isBusy()
    • getOut

      public Closeable getOut()