Interface IPentahoResultSet

  • All Superinterfaces:
    IDisposable
    All Known Implementing Classes:
    MemoryResultSet

    public interface IPentahoResultSet
    extends IDisposable
    Defines a set of result data, typically with definable rows and columns. Supports multi-dimensional data sets.
    Author:
    wseyler
    See Also:
    IDisposable
    • Method Detail

      • getMetaData

        IPentahoMetaData getMetaData()
        Returns:
        the Metadata object that resulted from the most recent query.
      • next

        Object[] next()
        Returns:
        an object array that represents the data in each column of the next row.
      • beforeFirst

        void beforeFirst()
        Moves the cursor to before the first row
      • close

        void close()
        Close the query
      • closeConnection

        void closeConnection()
        Close the connection used by this result set
      • isScrollable

        boolean isScrollable()
        Indicates whether the result set is scrollable
        Returns:
        true if the resultset can be scrolled through.
      • getValueAt

        Object getValueAt​(int row,
                          int column)
        Returns the value of the specified row and the specified column from within the resultset.
        Parameters:
        row - the row index.
        column - the column index.
        Returns:
        the value.
      • getRowCount

        int getRowCount()
        Get a rowCount from the resultset.
        Returns:
        the row count.
      • getColumnCount

        int getColumnCount()
        Returns the rowCount from the result set.
        Returns:
      • memoryCopy

        IPentahoResultSet memoryCopy()
        Returns a memory copy of the results
        Returns:
        memory copy of the results
      • getDataColumn

        Object[] getDataColumn​(int column)
        Get a column of data.
        Parameters:
        column - the zero based column number
        Returns:
        array represeting a column of data. 0th element is the first column
      • getDataRow

        Object[] getDataRow​(int row)
        Get a specified row of data
        Parameters:
        row - the zero base row number
        Returns:
        array representing a row of data. 0th element is the top row