Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FetchQuery

Data type for a FETCH_QUERY request.

Hierarchy

  • FetchQuery

Index

Constructors

constructor

  • new FetchQuery(selector: AbstractTopicSelector, range: FetchRange, topicTypes: Set<TopicType>, withValues: boolean, withProperties: boolean, limit: number, maximumResultSize: number, deepBranchDepth: number, deepBranchLimit: number, withUnpublishedDelayedTopics: boolean, withSizes: boolean): FetchQuery
  • Create a new FetchQueryResult instance

    Parameters

    • selector: AbstractTopicSelector

      the topic selector

    • range: FetchRange

      the fetch range

    • topicTypes: Set<TopicType>

      the topic types to include in the fetch request

    • withValues: boolean

      whether to fetch topic values

    • withProperties: boolean

      whether to fetch topic properties

    • limit: number

      the limit on the number of results returned

    • maximumResultSize: number

      the maximum result size

    • deepBranchDepth: number

      the minimum number of parts in a path that belongs to a "deep" branch

    • deepBranchLimit: number

      the maximum number of paths to return for each deep branch

    • withUnpublishedDelayedTopics: boolean

      whether unpublished delayed topics should be included in the results

    • withSizes: boolean

      whether sizes required

    Returns FetchQuery

Properties

Readonly deepBranchDepth

deepBranchDepth: number

The minimum number of parts in a path that belongs to a "deep" branch.

Readonly deepBranchLimit

deepBranchLimit: number

The maximum number of paths to return for each deep branch.

Readonly limit

limit: number

The limit on the number of results returned

Readonly maximumResultSize

maximumResultSize: number

The maximum result size

Readonly range

range: FetchRange

The fetch range

Readonly selector

The topic selector

Readonly topicTypes

topicTypes: Set<TopicType>

The topic types to include in the fetch request

Readonly withProperties

withProperties: boolean

Whether to fetch topic properties

Readonly withSizes

withSizes: boolean

Indicates whether sizes required.

withUnpublishedDelayedTopics

withUnpublishedDelayedTopics: boolean

Whether unpublished delayed topics should be included in the results.

Readonly withValues

withValues: boolean

Whether to fetch topic values

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.