@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for SQL API
17 lines • 798 B
TypeScript
import { PartitionKeyRange } from "../client";
import { QueryRange } from "./QueryRange";
/** @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