org.apache.camel.component.hdfs
Class HdfsInputStream
java.lang.Object
org.apache.camel.component.hdfs.HdfsInputStream
- All Implemented Interfaces:
- Closeable
public class HdfsInputStream
- extends Object
- implements Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HdfsInputStream
protected HdfsInputStream()
createInputStream
public static HdfsInputStream createInputStream(String hdfsPath,
HdfsConfiguration configuration)
throws IOException
- Throws:
IOException
close
public final void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
next
public final long next(Holder<Object> key,
Holder<Object> value)
getNumOfReadBytes
public final long getNumOfReadBytes()
getNumOfReadMessages
public final long getNumOfReadMessages()
getActualPath
public final String getActualPath()
getChunkSize
public final int getChunkSize()
getIn
public final Closeable getIn()
Apache Camel