QueryClient | @here/olp-sdk-ts
Class QueryClient
Hierarchy
- QueryClient
Index
Constructors
Methods
Constructors
constructor
Constructs a new client for the Query Service API.
Parameters
settings: OlpClientSettings
The OlpClientSettings instance.
Returns QueryClient
The QueryClient instance.
Methods
fetch Quad Tree Index
Fetches the quadtree index.
Parameters
request: QuadTreeIndexRequest
The configured QuadTreeIndexRequest instance.
Optional abortSignal: AbortSignal
A signal object that allows you to communicate with a request (such as the
fetchrequest) and, if required, abort it using theAbortControllerobject.For more information, see the
AbortControllerdocumentation.
Returns Promise<QueryApi.Index>
The quadtree index object.
get Partitions By Id
Gets partitions using their IDs.
Parameters
request: PartitionsRequest
The
PartitionsRequestinstance.layerId: string
The ID of the layer from which you want to get partitions.
hrn: HRN
The HERE Resource Name (HRN) of the layer.
Optional abortSignal: AbortSignal
A signal object that allows you to communicate with a request (such as the
fetchrequest) and, if required, abort it using theAbortControllerobject.For more information, see the
AbortControllerdocumentation.Optional catalogVersion: number
Returns Promise<QueryApi.Partitions>
The requested partitions.
Generated using TypeDoc
A client for the Query Service API that provides a way to get information (metadata) about layers and partitions stored in a catalog. This service exposes the metadata for a single partition that you can query one by one or using a parent tile.