public class HDFSSeekableLineReader extends AbstractSeekableLineReader
blockSize, br, bufferFully, closed, is, UTF8| Constructor and Description |
|---|
HDFSSeekableLineReader(org.apache.hadoop.fs.FSDataInputStream fsdis,
long length,
int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
doClose() |
InputStream |
doSeekLoad(long offset,
int maxLength) |
long |
getOffset() |
long |
getSize() |
close, finalize, getInputStream, isClosed, readLine, seek, seekWithMaxRead, setBufferFully, skipLinepublic HDFSSeekableLineReader(org.apache.hadoop.fs.FSDataInputStream fsdis,
long length,
int blockSize)
public InputStream doSeekLoad(long offset, int maxLength) throws IOException
doSeekLoad in class AbstractSeekableLineReaderIOExceptionpublic long getOffset()
throws IOException
IOExceptionpublic void doClose()
throws IOException
doClose in class AbstractSeekableLineReaderIOExceptionpublic long getSize()
throws IOException
getSize in interface SeekableLineReadergetSize in class AbstractSeekableLineReaderIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.