Interface LineReader

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
FooterAwareLineReader, SequenceFileReader, TextLineReader

public interface LineReader extends Closeable
  • Method Details

    • isClosed

      boolean isClosed()
    • getRetainedSize

      long getRetainedSize()
    • getBytesRead

      long getBytesRead()
    • getReadTimeNanos

      long getReadTimeNanos()
    • readLine

      boolean readLine(LineBuffer lineBuffer) throws IOException
      Read a line into the buffer. If there are no more lines in the steam, this reader is closed.
      Returns:
      true if a line was read; otherwise, there no more lines and false is returned
      Throws:
      IOException