@convex-dev/geospatial
Version:
A geospatial index for Convex
16 lines • 809 B
TypeScript
import type { QueryCtx } from "../_generated/server.js";
import type { Interval } from "../lib/interval.js";
import type { Logger } from "../lib/logging.js";
import { type TupleKey } from "../lib/tupleKey.js";
import { DatabaseRange } from "./databaseRange.js";
import type { Stats } from "./zigzag.js";
export declare class CellRange extends DatabaseRange {
private cell;
constructor(ctx: QueryCtx, logger: Logger, cell: string, cursor: TupleKey | undefined, interval: Interval, prefetchSize: number, stats: Stats);
initialQuery(): Promise<TupleKey[]>;
advanceQuery(lastKey: TupleKey): Promise<TupleKey[]>;
seekQuery(tuple: TupleKey): Promise<TupleKey[]>;
getCounterKey(): string;
}
export declare function cellCounterKey(cell: string): string;
//# sourceMappingURL=cellRange.d.ts.map