@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
17 lines • 815 B
TypeScript
import type { PartitionKeyRange } from "../client/index.js";
import { QueryRange } from "./QueryRange.js";
/** @hidden */
export declare class InMemoryCollectionRoutingMap {
private orderedPartitionKeyRanges;
private orderedRanges;
orderedPartitionInfo: unknown;
/**
* Represents a InMemoryCollectionRoutingMap Object,
* Stores partition key ranges in an efficient way with some additional information and provides
* convenience methods for working with set of ranges.
*/
constructor(orderedPartitionKeyRanges: PartitionKeyRange[], orderedPartitionInfo: unknown);
getOrderedParitionKeyRanges(): PartitionKeyRange[];
getOverlappingRanges(providedQueryRanges: QueryRange | QueryRange[]): PartitionKeyRange[];
}
//# sourceMappingURL=inMemoryCollectionRoutingMap.d.ts.map