Interface IDataSource.IQuery

  • All Known Subinterfaces:
    DataGrid.IGridQuery
    Enclosing interface:
    IDataSource<T>

    public static interface IDataSource.IQuery
    Specifies the subset of data to be loaded.
    Author:
    Matej Knopp
    • Method Detail

      • getFrom

        long getFrom()
        Returns the index of first item to be loaded
        Returns:
        index of first item to be loaded
      • getTotalCount

        long getTotalCount()
        Returns the total amount of rows or UNKNOWN_TOTAL_COUNT if the amount of rows is not known yet.
        Returns:
        total amount of rows
      • getSortState

        <S> IGridSortState<S> getSortState()
        Returns the IGridSortState that can be used to determine which sortable columns have been used to sort the table.
        Returns:
        sort state