Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FetchResult<V>

Encapsulates the results from a fetch operation issued to the server.

A fetch operation is issued using a fetch request which will return a result of this type via a Result.

since

6.2

Type parameters

  • V

    the result value type. This will be any type unless the request indicated that values are to be returned, in which case this will be the data type requested.

Hierarchy

  • FetchResult

Index

Methods

hasMore

  • hasMore(): boolean
  • Indicates whether the fetch could have returned more results if it had not been constrained by the first, last or maximumResultSize limits.

    Returns boolean

    true if more results could have been returned, otherwise false

isEmpty

  • isEmpty(): boolean
  • Returns true if the result contains zero elements.

    since

    6.3

    Returns boolean

    true if result list is empty

results

  • Returns the results from the fetch operation.

    Results are always returned in path order.

    Returns Array<TopicResult<V>>

    a list of TopicResults, each representing a result single topic selected by the fetch operation.

size

  • size(): number
  • The number of elements in the fetch result.

    since

    6.3

    Returns number

    the size of the results list