Options
All
  • Public
  • Public/Protected
  • All
Menu

This interface is a special Predicate which helps to get a page-by-page result of a query. It can be constructed with a page-size, an inner predicate for filtering, and a comparator for sorting.

Hierarchy

Index

Properties

classId: number

Class id of the object.

factoryId: number

Factory id of the object.

Methods

  • getAnchor(): [number, [any, any]]
  • Retrieve the anchor object which is the last value object on the previous page.

    Note: This method will return "null" anchor on the first page of the query result or if the predicate was not applied for the previous page number.

    Returns [number, [any, any]]

  • Returns the comparator used by this predicate (if any).

    Returns Comparator

  • getPage(): number
  • Returns the current page value.

    Returns number

  • getPageSize(): number
  • Returns the page size.

    Returns number

  • Sets the page value to next page.

    Returns PagingPredicate

  • Sets the page value to previous page.

    Returns PagingPredicate

  • Reads fields of the object from the binary representation.

    Parameters

    Returns void

  • Sets the current page value.

    Parameters

    • page: number

      page number

    Returns PagingPredicate

  • Writes fields of the object into the binary representation.

    Parameters

    Returns void

Generated using TypeDoc