Enum QueryOp
pub enum QueryOp {
Default,
SteVecSelector,
SteVecValueSelector,
SteVecTerm,
}Expand description
Query operations for STE-vec indexed columns.
§Operations
QueryOp::Default: For JSON containment queries (@>). Pass a JSON object/array.QueryOp::SteVecSelector: For path extraction. Pass a JSON path string like"$.user.email".QueryOp::SteVecValueSelector: For exact-match equality on a value at a path. Pass a JSON object{"path": "$.user.email", "value": <scalar json value>}; produces a one-entry containment needle whose value-inclusive selector must be present in the storedsv.QueryOp::SteVecTerm: For scalar value ordering comparison (CLLW ORE/OPE). Pass a string or number only. Json values are not supported; useDefaultfor JSON containment queries. Not an equality operand — the orderable encoding is lossy (f64 rounding, string collation); exact equality isQueryOp::SteVecValueSelector.
Variants§
Default
For JSON containment queries. Accepts JSON objects/arrays.
SteVecSelector
For JSON path extraction. Accepts path strings like "$.user.email".
SteVecValueSelector
For exact-match equality on the value at a path. Accepts
{"path": <jsonpath string>, "value": <scalar json value>}.
SteVecTerm
For scalar value ordering comparison using CLLW ORE/OPE. Accepts strings or numbers only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryOp
impl RefUnwindSafe for QueryOp
impl Send for QueryOp
impl Sync for QueryOp
impl Unpin for QueryOp
impl UnsafeUnpin for QueryOp
impl UnwindSafe for QueryOp
Blanket Implementations§
impl<T> AuthStrategyBounds for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more