Class UserCorePaginatedResults<TColumn extends UserColumn,​TTable extends UserTable<TColumn>,​TRow extends UserCoreRow<TColumn,​TTable>,​TResult extends UserCoreResult<TColumn,​TTable,​TRow>>

  • Type Parameters:
    TColumn - column type
    TTable - table type
    TRow - row type
    TResult - result type
    All Implemented Interfaces:
    Iterable<TRow>

    public abstract class UserCorePaginatedResults<TColumn extends UserColumn,​TTable extends UserTable<TColumn>,​TRow extends UserCoreRow<TColumn,​TTable>,​TResult extends UserCoreResult<TColumn,​TTable,​TRow>>
    extends Object
    implements Iterable<TRow>
    User Core Paginated Results for iterating and querying through chunks
    Since:
    6.2.0
    Author:
    osbornb
    • Method Detail

      • getSql

        public String getSql()
        Get the initial SQL statement
        Returns:
        SQL statement
      • getArgs

        public String[] getArgs()
        Get the SQL arguments
        Returns:
        SQL arguments
      • getColumns

        public String[] getColumns()
        Get the SQL column names
        Returns:
        SQL column names
      • getPagination

        public Pagination getPagination()
        Get the pagination
        Returns:
        pagination
      • setPagination

        public void setPagination​(Pagination pagination)
        Set the pagination
        Parameters:
        pagination - pagination
      • ids

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

        public void close()
        Close the current results