Class HDFSStream
java.lang.Object
org.archive.streamcontext.AbstractBufferingStream
org.archive.streamcontext.HDFSStream
- All Implemented Interfaces:
Closeable,AutoCloseable,Stream
-
Field Summary
Fields inherited from class org.archive.streamcontext.AbstractBufferingStream
atEof, buffer, bufferCursor, bufferRemaining, closed, DEFAULT_READ_SIZE, offset -
Constructor Summary
ConstructorsConstructorDescriptionHDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs) HDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs, long offset) -
Method Summary
-
Constructor Details
-
HDFSStream
public HDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs) -
HDFSStream
- Throws:
IOException
-
-
Method Details
-
doRead
- Specified by:
doReadin classAbstractBufferingStream- Throws:
IOException
-
doSeek
- Specified by:
doSeekin classAbstractBufferingStream- Throws:
IOException
-
doClose
- Specified by:
doClosein classAbstractBufferingStream- Throws:
IOException
-