pub struct ExecutionOptions {
pub max_intermediate_rows: Option<usize>,
pub max_result_rows: Option<usize>,
pub max_relationship_expansions: Option<u64>,
pub timeout: Option<Duration>,
pub cancellation_token: Option<CancellationToken>,
pub observer: Option<ExecutionObserver>,
pub procedures: Option<Procedures>,
pub params: HashMap<String, PropertyValue>,
}Expand description
Per-statement safety limits and optional telemetry. Limit fields default
to None, preserving unlimited behavior for trusted embedded callers.
Fields§
§max_intermediate_rows: Option<usize>§max_result_rows: Option<usize>§max_relationship_expansions: Option<u64>§timeout: Option<Duration>§cancellation_token: Option<CancellationToken>§observer: Option<ExecutionObserver>§procedures: Option<Procedures>None (the default) means CALL always fails with “procedure not
found” – MarsDB ships no built-in procedures itself, see
procedure::ProcedureProvider’s own docs.
params: HashMap<String, PropertyValue>The statement’s own $name parameters, verbatim – every other
$param position is already resolved to a concrete Literal
before Executor ever sees the statement (substitute_params,
run during marsdb::prepare_statement, well before this point),
but a standalone CALL proc written with no parens at all (TCK’s
Call1 [2]/[11], Call2 [3]) resolves each declared input from
a same-named $param – which declared names even exist isn’t
knowable until the procedure’s signature is looked up here, at
execution time (the registry itself, procedures above, isn’t
available any earlier either), so this is the one place Executor
still needs the raw map instead of already-substituted AST nodes.
Trait Implementations§
Source§impl Clone for ExecutionOptions
impl Clone for ExecutionOptions
Source§fn clone(&self) -> ExecutionOptions
fn clone(&self) -> ExecutionOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionOptions
impl Debug for ExecutionOptions
Source§impl Default for ExecutionOptions
impl Default for ExecutionOptions
Source§fn default() -> ExecutionOptions
fn default() -> ExecutionOptions
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionOptions
impl !UnwindSafe for ExecutionOptions
impl Freeze for ExecutionOptions
impl Send for ExecutionOptions
impl Sync for ExecutionOptions
impl Unpin for ExecutionOptions
impl UnsafeUnpin for ExecutionOptions
Blanket Implementations§
Source§impl<T> AnyExt for T
impl<T> AnyExt for T
Source§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
T behind referenceSource§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
T behind mutable referenceSource§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
T behind Rc pointerSource§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
T behind Arc pointer