IndexLayerClient | @here/olp-sdk-ts
Class IndexLayerClient
Hierarchy
- IndexLayerClient
Index
Constructors
Methods
Constructors
constructor
Creates the IndexLayerClient instance with IndexLayerClientParams.
Parameters
params: IndexLayerClientParams
parameters for use to initialize IndexLayerClient.
Returns IndexLayerClient
Methods
get Data
Fetches partition data using data handle.
Parameters
model: IndexApi.Index
The data model of partition metadata.
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<Response>
The data from the requested partition.
get Partitions
Fetches all partitions metadata from a layer that match a query from the IndexQueryRequest instance.
Parameters
request: IndexQueryRequest
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<IndexApi.Index[]>
A list of metadata for each of the partitions from the requested layer.
Generated using TypeDoc
Describes a index layer and provides the possibility to get partitions metadata and data.