Expand description
GraphQL integration for sphereQL spatial queries.
Provides an async-graphql schema with queries for cone, shell, band,
wedge, and region lookups, k-nearest-neighbor search, real-time
subscriptions via a broadcast event bus, and the full category
enrichment surface (concept paths, drill-down, domain groups, stats).
Re-exports§
pub use category::*;pub use category_types::*;pub use context::*;pub use query::*;pub use subscription::*;pub use types::*;
Modules§
- category
- GraphQL root for the category-enrichment surface.
- category_
types - GraphQL output types for the category-enrichment surface.
- context
- query
- subscription
- types
Structs§
- Merged
Query Root - Merged GraphQL query root combining the spatial-only resolvers and the category-enrichment resolvers.
Constants§
- DEFAULT_
MAX_ COMPLEXITY - Default maximum query complexity applied to every schema this crate builds.
- DEFAULT_
MAX_ DEPTH - Default maximum query depth applied to every schema this crate builds.
Functions§
- build_
unified_ schema - Build a
UnifiedSchemafrom all four context resources: the spatial point index, the spatial event bus, the category-enrichment pipeline, and aTextEmbedderfor resolvers that take text queries. - build_
unified_ schema_ from_ items - Convenience wrapper: build a unified schema from an in-memory list of
CategorizedItemInputs and the default no-op embedder.
Type Aliases§
- Unified
Schema - Schema flavor that exposes both spatial and category queries.