Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RangeQueryResult

Server response from a RANGE_QUERY request.

Hierarchy

  • RangeQueryResult

Index

Constructors

constructor

  • Create a new RangeQueryResult instance

    Parameters

    • valueDataType: DataType<any, any, any>

      the value data type

    • selectedCount: Long

      the number of selected events

    • events: Array<EventImpl<any>>

      the time series events returned in the result

    Returns RangeQueryResult

Properties

events

events: Array<EventImpl<any>>

The time series events returned in the result

selectedCount

selectedCount: Long

The number of selected events

valueDataType

valueDataType: DataType<any, any, any>

The value data type

Methods

createQueryResult

  • createQueryResult(queryValueType: {}, streamStructure: StreamStructure): QueryResultImpl
  • Create a new QueryResult with a given value type and stream structure

    throws

    an InvalidDataError if queryValueType is incompatible with the data type, or any of the events do not represent a valid value.

    Parameters

    • queryValueType: {}

      the value type

    • streamStructure: StreamStructure

      the stream structure

    Returns QueryResultImpl

    a new query result constructed from the range query result

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.