Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueryTask

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

gdbVersion

gdbVersion: string

Specify the geodatabase version to query.

Read more...

initialized

initialized: boolean

requestOptions

requestOptions: any

The options to be used for data requests.

Read more...

url

url: string

The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): QueryTask
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns QueryTask

destroy

  • destroy(): void
  • Returns void

execute

  • Executes a Query against the layer specified in the url.

    Read more...

    Parameters

    • query: Query
    • Optional requestOptions: any

    Returns Promise<FeatureSet>

executeAttachmentQuery

  • executeAttachmentQuery(attachmentQuery: AttachmentQuery, requestOptions?: any): Promise<any>
  • Query information about attachments associated with features from a feature layer specified in the url.

    Read more...

    Parameters

    Returns Promise<any>

executeForCount

  • executeForCount(query: Query, requestOptions?: any): Promise<number>
  • Gets a count of the number of features that satisfy the input query.

    Read more...

    Parameters

    • query: Query
    • Optional requestOptions: any

    Returns Promise<number>

executeForExtent

  • executeForExtent(params: Query, requestOptions?: any): Promise<any>
  • Gets the extent of the features that satisfy the input query.

    Read more...

    Parameters

    • params: Query
    • Optional requestOptions: any

    Returns Promise<any>

executeForIds

  • executeForIds(query: Query, requestOptions?: any): Promise<number[]>
  • Executes a Query against the layer specified in the url.

    Read more...

    Parameters

    • query: Query
    • Optional requestOptions: any

    Returns Promise<number[]>

executeRelationshipQuery

  • executeRelationshipQuery(relationshipQuery: RelationshipQuery, requestOptions?: any): Promise<any>
  • Executes a RelationshipQuery against the layer or table specified in the url.

    Read more...

    Parameters

    Returns Promise<any>

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns QueryTask

  • Parameters

    Returns QueryTask

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc