QueryClient

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.

Hierarchy

  • QueryClient

Index

Constructors

constructor

Methods

fetchQuadTreeIndex

getPartitionsById

  • Gets partitions using their IDs.

    Parameters

    • The PartitionsRequest instance.

    • 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 fetch request) and, if required, abort it using the AbortController object.

      For more information, see the AbortController documentation.

    • Optional catalogVersion: number

    Returns Promise<QueryApi.Partitions>

    The requested partitions.