FeatureLayerQueryParams
Interface
Query parameters for featuer layer.
Properties
Property | Type | Notes |
---|---|---|
string | Specify the geodatabase version to be queried. | |
IGeometry | The geometry of the spatial filter. | |
number | This option can be used to specify the number of decimal places for the returned geometries. | |
string[] | One or more | |
number[] | Object IDs of records to be queried. | |
string[] | One or more | |
string[] | The list of fields to be included in the returned result set. | |
The definitions for one or more field-based statistics to be calculated. | ||
number | Page number starts from 1, not 0. | |
number | Page size. | |
boolean | If true, it returns distinct values based on the fields specified in outFields. | |
boolean | If true, the geometry of each result feature will be returned. | |
boolean | If true, m-values are included in the results if the features have m-values. Otherwise, m-values are not returned. | |
boolean | If true, z-values are included in the results if the features have z-values. Otherwise, z-values are not returned. | |
"none" | "standard" | "native" | The sqlFormat parameter can be either standard SQL-92 standard or it can use the native SQL of the underlying data store native. | |
number | [void, void] | The time instant or the time extent to query. A null value specified for start time or end time will represent infinity for start or end time, respectively. | |
string | A where clause for the query. |
gdbVersion optional
geometry optional
geometry: IGeometry
The geometry of the spatial filter.
geometryPrecision optional
geometryPrecision: number
This option can be used to specify the number of decimal places for the returned geometries.
groupByFieldsForStatistics optional
groupByFieldsForStatistics: string[]
One or more jimuFieldName
by which the values will be grouped for calculating the statistics.
objectIds optional
objectIds: number[]
Object IDs of records to be queried.
orderByFields optional
orderByFields: string[]
One or more jimuFieldName
by which the features/records will be ordered.
Use ASC for ascending and DESC for descending. The following fields are used to control the ordering.
orderByFields is set to ASC (ascending order) by default if
outFields optional
outFields: string[]
The list of fields to be included in the returned result set.
outStatistics optional
outStatistics: StatisticDefinition[]
The definitions for one or more field-based statistics to be calculated.
page optional
page: number
Page number starts from 1, not 0.
pageSize optional
pageSize: number
Page size.
returnDistinctValues optional
returnDistinctValues: boolean
If true, it returns distinct values based on the fields specified in outFields.
returnGeometry optional
returnGeometry: boolean
If true, the geometry of each result feature will be returned.
returnM optional
returnM: boolean
If true, m-values are included in the results if the features have m-values. Otherwise, m-values are not returned.
returnZ optional
returnZ: boolean
If true, z-values are included in the results if the features have z-values. Otherwise, z-values are not returned.
sqlFormat optional
sqlFormat: "none" | "standard" | "native"
The sqlFormat parameter can be either standard SQL-92 standard or it can use the native SQL of the underlying data store native.
time optional
time: number | [void, void]
The time instant or the time extent to query. A null value specified for start time or end time will represent infinity for start or end time, respectively.
where optional
where: string
A where clause for the query.
gdbVersion: string
Specify the geodatabase version to be queried.