Type parameters
Hierarchy
-
SpatialQuery<TableInfo> ↳SpatialPartitionQuery
Methods
require
▸ require(requirement): SpatialPartitionQuery<TableInfo, Field>
Parameters
Returns
SpatialPartitionQuery<TableInfo, Field>
Inherited from
SpatialQuery.requirefilter
▸ filter(predicate): SpatialPartitionQuery<TableInfo, Field>
Parameters
Returns
SpatialPartitionQuery<TableInfo, Field>
Inherited from
SpatialQuery.filterwithBudget
▸ withBudget(budget): SpatialPartitionQuery<TableInfo, Field>
Parameters
Returns
SpatialPartitionQuery<TableInfo, Field>
Inherited from
SpatialQuery.withBudgetexplain
▸ explain():ReadPath
Inspect the structural plan without consuming the query or deciding authority.
Returns
ReadPath
Inherited from
SpatialQuery.explaincollect
▸ collect():Promise<DocumentByInfo<TableInfo>[]>
Returns
Promise<DocumentByInfo<TableInfo>[]>
Inherited from
SpatialQuery.collecttake
▸ take(n): Promise<DocumentByInfo<TableInfo>[]>
Parameters
Returns
Promise<DocumentByInfo<TableInfo>[]>
Inherited from
SpatialQuery.takefirst
▸ first():Promise<null | DocumentByInfo<TableInfo>>
Returns
Promise<null | DocumentByInfo<TableInfo>>
Inherited from
SpatialQuery.firstunique
▸ unique():Promise<null | DocumentByInfo<TableInfo>>
Returns
Promise<null | DocumentByInfo<TableInfo>>
Inherited from
SpatialQuery.uniquepaginate
▸ paginate(options): Promise<PaginationResult<DocumentByInfo<TableInfo>>>
Parameters
Returns
Promise<PaginationResult<DocumentByInfo<TableInfo>>>
Inherited from
SpatialQuery.paginatereadPage
▸ readPage(options): Promise<QueryReadPage<DocumentByInfo<TableInfo>>>
Parameters
Returns
Promise<QueryReadPage<DocumentByInfo<TableInfo>>>
Inherited from
SpatialQuery.readPageiterate
▸ iterate(options): AsyncIterableIterator<DocumentByInfo<TableInfo>, any, any>
Parameters
Returns
AsyncIterableIterator<DocumentByInfo<TableInfo>, any, any>
Inherited from
SpatialQuery.iterateaggregate
▸ aggregate<Measures, By>(measures, options?): AggregateResult<TableInfo, Measures, By>
Type parameters
Parameters
Returns
AggregateResult<TableInfo, Measures, By>
Inherited from
SpatialQuery.aggregatecollectWithDiagnostics
▸ collectWithDiagnostics():Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Returns
Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Inherited from
SpatialQuery.collectWithDiagnosticstakeWithDiagnostics
▸ takeWithDiagnostics(n): Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Parameters
Returns
Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Inherited from
SpatialQuery.takeWithDiagnosticsnearest
▸ nearest(origin, ...options): NearestQuery<DocumentByInfo<TableInfo>>
Rank this range’s eligible documents by distance. Filters apply before
ranking; consume the result with take or first.
Parameters
Returns
NearestQuery<DocumentByInfo<TableInfo>>
[asyncIterator]
▸ [asyncIterator]():AsyncIterator<DocumentByInfo<TableInfo>, any, any>
Returns
AsyncIterator<DocumentByInfo<TableInfo>, any, any>