A query provider for ArcGIS service table extensions.

Hierarchy (view full)

Constructors

Methods

  • Invoked to perform the actual work for count. Derived classes should override this method rather than count().

    Parameters

    • source: FeatureSource

      The source to query.

    • where: string

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

    • options: QueryOptions

      Additional options that affect the query.

    Returns Promise<CountResult>

  • Invoked to perform the actual work for query. Derived classes should override this method rather than query().

    Parameters

    • source: FeatureSource

      The source to query.

    • where: string

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

    • options: QueryOptions

      Additional options that affect the query.

    Returns AsyncIterable<Feature, any, any>

  • 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>