Interface SeekableLineReader
- All Known Implementing Classes:
AbstractSeekableLineReader,ApacheHttp43SLR,FieldExtractingSLR,HDFSSeekableLineReader,HTTPSeekableLineReader,HTTPURLConnSLR,MappedSeekableLineReader,NIOSeekableLineReader,RandomAccessFileSeekableLineReader,WrappedSeekableLineReader
public interface SeekableLineReader
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetSize()booleanisClosed()readLine()voidseek(long offset) voidseekWithMaxRead(long offset, boolean gzip, int maxLength) voidsetBufferFully(boolean bufferFully) voidskipLine()
-
Method Details
-
seek
- Throws:
IOException
-
seekWithMaxRead
- Throws:
IOException
-
getInputStream
InputStream getInputStream() -
readLine
- Throws:
IOException
-
skipLine
- Throws:
IOException
-
close
- Throws:
IOException
-
getSize
- Throws:
IOException
-
setBufferFully
void setBufferFully(boolean bufferFully) -
isClosed
boolean isClosed()
-