Interface RowStream

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
IterableRowStream

public interface RowStream extends AutoCloseable
An interface that is responsible for returning rows of data
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next row of data as an object array, or null if the stream is out of data.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • nextRow

      Object[] nextRow() throws IOException
      Returns the next row of data as an object array, or null if the stream is out of data. Note that the objects returned MUST adhere to the schema of the ResettableDataSource that created this RowStream.
      Returns:
      the next row of data, or null if there is no more data
      Throws:
      IOException - if unable to obtain the next row of data due to I/O failure