QueryApi | @here/olp-sdk-ts
Namespace QueryApi
Index
Functions
get Changes By Id
Parameters
builder: RequestBuilder
params: { additionalFields?: string[]; billingTag?: string; endVersion?: string; layerId: string; partition: string[]; sinceTime?: number; startVersion?: string }
Optional additional
Fields?: string[] Optional billing
Tag?: string Optional end
Version?: string layer
Id: string partition: string[]
Optional since
Time?: number Optional start
Version?: string
Returns Promise<QueryApi.Partitions>
get Partitions By Id
Gets metadata for specific partition ids. If the layer specified in the request does not exist, the request results in an error. If a partition specified in the request does not exist, the response does not include this partition. Maximun allowed number of partitions ids per call is 100.
Parameters
builder: RequestBuilder
params: { additionalFields?: string[]; billingTag?: string; layerId: string; partition: string[]; version?: string }
Optional additional
Fields?: string[] Optional billing
Tag?: string layer
Id: string partition: string[]
Optional version?: string
Returns Promise<QueryApi.Partitions>
quad Tree Index
Gets metadata for the requested index. Only available for versioned layers where the partitioning scheme is
heretile.Parameters
builder: RequestBuilder
params: { additionalFields?: string[]; billingTag?: string; depth: number; layerId: string; quadKey: string; version: number }
Optional additional
Fields?: string[] Optional billing
Tag?: string depth: number
layer
Id: string quad
Key: string version: number
Returns Promise<QueryApi.Index>
quad Tree Index Volatile
Gets metadata for the requested index. Only available for volatile layers where the partitioning scheme is
heretile.Parameters
builder: RequestBuilder
params: { additionalFields?: string[]; billingTag?: string; depth: number; layerId: string; quadKey: string }
Optional additional
Fields?: string[] Optional billing
Tag?: string depth: number
layer
Id: string quad
Key: string
Returns Promise<QueryApi.Index>
Generated using TypeDoc
Gets the latest partition changes for a version range in a versioned layer or a time range for a volatile layer. Only the latest change for each changed partition is returned, not intermediate changes. If the response contains a partition with an empty 'dataHandle' value, the partition was deleted at the version indicated by the 'version' field of the partition object. If a partition was created and deleted between the versions specified in the 'startVersion' and 'endVersion' parameters, the partition is not included in the response. For example, if you request versions 0 to 10, and a partition was created in version 3 then deleted in version 7, it is not included in the response.
Gets changes for the version or time range for the specific partition(s).