Interface UserCoreResult<TColumn extends UserColumn,​TTable extends UserTable<TColumn>,​TRow extends UserCoreRow<TColumn,​TTable>>

  • Type Parameters:
    TColumn - column type
    TTable - table type
    TRow - row type
    All Superinterfaces:
    Iterable<TRow>, Result

    public interface UserCoreResult<TColumn extends UserColumn,​TTable extends UserTable<TColumn>,​TRow extends UserCoreRow<TColumn,​TTable>>
    extends Result, Iterable<TRow>
    Abstract User Cursor
    Author:
    osbornb
    • Method Detail

      • getRow

        TRow getRow​(int[] columnTypes,
                    Object[] values)
        Get a row using the column types and values
        Parameters:
        columnTypes - column types
        values - values
        Returns:
        row
      • getValue

        Object getValue​(TColumn column)
        Get the value for the column
        Parameters:
        column - column
        Returns:
        value
      • getValue

        Object getValue​(int index)
        Get the value for the column index
        Specified by:
        getValue in interface Result
        Parameters:
        index - column index
        Returns:
        value
        Since:
        3.4.0
      • getValue

        Object getValue​(String columnName)
        Get the value for the column name
        Parameters:
        columnName - column name
        Returns:
        value
        Since:
        3.4.0
      • getId

        long getId()
        Get the primary key value
        Returns:
        value
        Since:
        3.4.0
      • getTable

        TTable getTable()
        Get the table
        Returns:
        table
      • getTableName

        String getTableName()
        Get the table name
        Returns:
        table name
        Since:
        3.5.0
      • getColumns

        UserColumns<TColumn> getColumns()
        Get the columns
        Returns:
        columns
        Since:
        3.5.0
      • getRow

        TRow getRow()
        Get the row at the current cursor position
        Returns:
        row
      • getCount

        int getCount()
        Get the count of results
        Returns:
        count, -1 if not able to determine
      • getSql

        String getSql()
        Get the SQL statement (if available)
        Returns:
        SQL statement
        Since:
        6.2.0
      • getSelectionArgs

        String[] getSelectionArgs()
        Get the SQL selection arguments (if available)
        Returns:
        selection arguments
        Since:
        6.2.0
      • ids

        Iterable<Long> ids()
        Iterable for iterating over result ids in place of rows
        Returns:
        iterable ids
        Since:
        6.2.1