UNPKG

1.17 kBTypeScriptView Raw
1import { PartitionKeyRange } from "../client/Container/PartitionKeyRange";
2import { QueryRange as ResponseQueryRange } from "../request/ErrorResponse";
3/** @hidden */
4export declare class QueryRange {
5 min: string;
6 max: string;
7 isMinInclusive: boolean;
8 isMaxInclusive: boolean;
9 /**
10 * Represents a QueryRange.
11 *
12 * @param rangeMin - min
13 * @param rangeMin - max
14 * @param isMinInclusive - isMinInclusive
15 * @param isMaxInclusive - isMaxInclusive
16 * @hidden
17 */
18 constructor(rangeMin: string, rangeMax: string, isMinInclusive: boolean, isMaxInclusive: boolean);
19 overlaps(other: QueryRange): boolean;
20 isFullRange(): boolean;
21 isEmpty(): boolean;
22 /**
23 * Parse a QueryRange from a partitionKeyRange
24 * @returns QueryRange
25 * @hidden
26 */
27 static parsePartitionKeyRange(partitionKeyRange: PartitionKeyRange): QueryRange;
28 /**
29 * Parse a QueryRange from a dictionary
30 * @returns QueryRange
31 * @hidden
32 */
33 static parseFromDict(queryRangeDict: ResponseQueryRange): QueryRange;
34}
35//# sourceMappingURL=QueryRange.d.ts.map
\No newline at end of file