public class HDFSStream extends AbstractBufferingStream
atEof, buffer, bufferCursor, bufferRemaining, closed, DEFAULT_READ_SIZE, offset| Constructor and Description |
|---|
HDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs) |
HDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs,
long offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
doClose() |
int |
doRead(byte[] b,
int off,
int len) |
void |
doSeek(long offset) |
public HDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs)
public HDFSStream(org.apache.hadoop.fs.FSDataInputStream hdfs,
long offset)
throws java.io.IOException
java.io.IOExceptionpublic int doRead(byte[] b,
int off,
int len)
throws java.io.IOException
doRead in class AbstractBufferingStreamjava.io.IOExceptionpublic void doSeek(long offset)
throws java.io.IOException
doSeek in class AbstractBufferingStreamjava.io.IOExceptionpublic void doClose()
throws java.io.IOException
doClose in class AbstractBufferingStreamjava.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.