Skip to main content

Crate lora_executor

Crate lora_executor 

Source

Structs§

BufferedRowSource
Buffered cursor backed by a pre-computed Vec<Row>. Used both as a simple “rows already collected” adapter and as the leaf fallback for operators whose internals still require full materialization.
CombinedResult
CombinedRow
ExecuteOptions
ExecutionContext
Executor
GraphResult
HydratedGraph
HydratedNode
HydratedRelationship
LoraPath
A materialised path: alternating node/relationship IDs. nodes.len() == rels.len() + 1
MutableExecutionContext
MutableExecutor
MutablePullExecutor
Pull-based read-write executor. Wraps the existing MutableExecutor under the same row-cursor API. Mutations are applied during open_compiled; the returned cursor yields the resulting rows lazily.
PullExecutor
Pull-based read-only executor.
Row
RowArraysResult
RowsResult

Enums§

ExecutorError
LoraValue
PropertyConversionError
Errors that can arise when converting a LoraValue into a PropertyValue for storage on a node or relationship.
QueryResult
ResultFormat
StreamShape
Classification of a compiled query, used by the database layer to decide whether db.stream needs a hidden staged transaction.

Traits§

RowSource
Fallible pull-based row cursor.

Functions§

classify_stream
Classify a compiled query for streaming. Treats any UNION branch the same as the head: a single mutating op anywhere across the compiled query promotes the whole query to Mutating.
collect_compiled
Drain a freshly opened cursor into a Vec<Row>. Convenience for callers that want the streaming entry point but a buffered result.
compiled_result_columns
Result column names for a compiled query (head plan; UNION branches must produce the same shape so the head’s columns are authoritative).
drain
Drain a row source into a Vec<Row>, propagating the first error.
lora_value_to_property
Fallible conversion used on every write path (set_property_from_expr, overwrite_entity_target, mutate_entity_target, eval_properties_expr, plus CREATE / MERGE). Rejects VECTOR values nested inside lists at any depth — everything else falls through to the infallible From implementation above. A top-level VECTOR property is always fine; only LISTs that directly contain a VECTOR entry are rejected.
plan_result_columns
Result column names derived from the compiled plan.
project_rows
value_matches_property_value

Type Aliases§

ExecResult