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]]

  • getPage(): number
  • getPageSize(): number

Generated using TypeDoc