UNPKG

798 BTypeScriptView Raw
1import { PartitionKeyRange } from "../client";
2import { QueryRange } from "./QueryRange";
3/** @hidden */
4export declare class InMemoryCollectionRoutingMap {
5 private orderedPartitionKeyRanges;
6 private orderedRanges;
7 orderedPartitionInfo: unknown;
8 /**
9 * Represents a InMemoryCollectionRoutingMap Object,
10 * Stores partition key ranges in an efficient way with some additional information and provides
11 * convenience methods for working with set of ranges.
12 */
13 constructor(orderedPartitionKeyRanges: PartitionKeyRange[], orderedPartitionInfo: unknown);
14 getOrderedParitionKeyRanges(): PartitionKeyRange[];
15 getOverlappingRanges(providedQueryRanges: QueryRange | QueryRange[]): PartitionKeyRange[];
16}
17//# sourceMappingURL=inMemoryCollectionRoutingMap.d.ts.map
\No newline at end of file