A query provider that only uses client-side data.

Hierarchy (view full)

Constructors

Accessors

  • get _waitForUpdatingFinished(): boolean
  • Whether to wait for the layerView.updating flag to return false before executing the query.

    Returns boolean

Methods

  • Invoked to perform the work for query. Default implementation calls _query for each source. Derived classes can override this method to implement special handling for multiple sources.

    Parameters

    • sources: FeatureSource[]

      The sources to identify.

    • where: string

      An SQL expression to match against, e.g. "lastName='Smith'".

    • Optionaloptions: QueryOptions

      Additional options that affect the query.

    Returns AsyncIterable<Feature, any, any>

  • Queries a given feature source for a count of features that match the query criteria.

    Parameters

    • source: FeatureSource

      The source to query.

    • where: string

      An SQL expression to match against, e.g. "lastName='Smith'".

    • Optionaloptions: QueryOptions

      Additional options that affect the query.

    Returns Promise<CountResult>

  • Determines whether this provider can handle queries for the given feature source.

    Parameters

    Returns boolean

  • Queries a given feature source for features that match the query criteria.

    Parameters

    • source: FeatureSource | FeatureSource[]

      The source to query.

    • where: string

      An SQL expression to match against, e.g. "lastName='Smith'".

    • Optionaloptions: QueryOptions

      Additional options that affect the query.

    Returns AsyncIterable<Feature, any, any>