import { AdditionalFields } from "@here/olp-sdk-dataservice-api"; import { QuadKey } from "@here/olp-sdk-core"; import { QuadTreeIndexDepth } from "@here/olp-sdk-dataservice-read"; /** * Prepares information for calls to get quadtree metadata from the Query Service API. * * This class works only with versioned and volatile layers where the partitioning scheme is HERE Tile. */ export declare class QuadKeyPartitionsRequest { private quadKey?; private depth?; private billingTag?; private additionalFields?; /** * A geometric area represented as a HERE tile. * * @param quadKey Addresses a tile in the quadtree. * @returns The updated [[QuadKeyPartitionsRequest]] instance that you can use to chain methods. */ withQuadKey(quadKey: QuadKey): QuadKeyPartitionsRequest; /** * The recursion depth of the response. * The maximum allowed value for the depth parameter is 4. * * @param depth The recursion depth of the response. * @returns The updated [[QuadKeyPartitionsRequest]] instance that you can use to chain methods. * * If set to 0, the response includes only data from the quadkey specified in the request. * In this way, the depth describes the maximum length of the subQuadKeys in the response. */ withDepth(depth: QuadTreeIndexDepth): QuadKeyPartitionsRequest; /** * An optional free-form tag that is used for grouping billing records together. * * If supplied, it must be 4–16 characters long and contain only alphanumeric ASCII characters [A-Za-z0-9]. * * @param tag The `BillingTag` string. * @return The updated [[QuadKeyPartitionsRequest]] instance that you can use to chain methods. */ withBillingTag(tag: string): QuadKeyPartitionsRequest; /** * A setter for the provided additional fields * * @param additionalFields Array of strings. Array could contain next values "dataSize" | "checksum" | "compressedDataSize | "crc"". * This values could be useful for getPartitions method from versionedLayerClient and volatileLayerClient. * * @returns The updated [[QuadKeyPartitionsRequest]] instance that you can use to chain methods. */ withAdditionalFields(additionalFields: AdditionalFields): QuadKeyPartitionsRequest; /** * Gets the configured [[QuadKey]] object for the request. * * @return The the configured [[QuadKey]] object. */ getQuadKey(): QuadKey | undefined; /** * Gets the configured depth for the request. * * @return The number of the configured depth. */ getDepth(): QuadTreeIndexDepth; /** * Gets a billing tag to group billing records together. * * @return The `BillingTag` string. */ getBillingTag(): string | undefined; /** * Gets the additional fields for the request. * * @return Additional fields. */ getAdditionalFields(): AdditionalFields | undefined; }