Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FetchResultImpl<V>

Implementation of the FetchResult interface

Type parameters

  • V

Hierarchy

  • FetchResultImpl

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private hasMoreFlag

hasMoreFlag: boolean

Are there more results

Private resultList

resultList: Array<TopicResult<V>>

The list of topic results

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