Skip to main content

Crate vlorql_core

Crate vlorql_core 

Source
Expand description

Core data types, validators, and SQL compilation for VlorQl.

This crate implements the plan-then-execute boundary described in the VlorQl design notes:

The crate has no I/O dependencies and can be used standalone (e.g. to construct or inspect plans in unit tests) or as the foundation of the higher-level vlorql facade.

Modules§

cache
Pluggable caching layer for VlorQl core operations.
compile
Safe, parameterized SQL compilation for supported dialects.
errors
Structured, machine-readable errors for the VlorQl core.
function
Centralized function registry.
observability
OpenTelemetry integration for VlorQl.
optimizer
Logical rewrite rules applied to a validated QueryPlan.
policy
Access-control policy configuration and evaluation.
prompt
LLM system-prompt construction with minimized authorized context.
schema
Typed schema and query-plan models.
statistics
Table- and column-level statistics and pluggable providers.
validate
Aggregating schema, policy, operand, and dialect validation.

Functions§

init_function_registry
Initialise the function registry with built-in functions.