@convex-dev/geospatial
Version:
A geospatial index for Convex
16 lines • 784 B
TypeScript
import { QueryCtx } from "../_generated/server.js";
import { Interval } from "../lib/interval.js";
import { Logger } from "../lib/logging.js";
import { TupleKey } from "../lib/tupleKey.js";
import { DatabaseRange } from "./databaseRange.js";
import { 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