pub struct GroupSpec {
pub field: String,
pub field_span: Option<Span>,
pub size: Option<u64>,
pub lookup: Option<GroupLookup>,
}Expand description
GROUP BY field [SIZE n] [LOOKUP FROM c [WITH PAYLOAD …] [WITH VECTOR …]] settings.
Fields§
§field: StringPayload field used as the group key.
field_span: Option<Span>Source span of the group-key field token (GROUP BY <here>).
Skipped by serde so AST snapshots stay span-free; the planner threads
it into QQL-PLAN-GROUP instead of returning None.
size: Option<u64>Maximum hits per group.
lookup: Option<GroupLookup>Optional collection used to resolve group values.
Trait Implementations§
impl StructuralPartialEq for GroupSpec
Auto Trait Implementations§
impl Freeze for GroupSpec
impl RefUnwindSafe for GroupSpec
impl Send for GroupSpec
impl Sync for GroupSpec
impl Unpin for GroupSpec
impl UnsafeUnpin for GroupSpec
impl UnwindSafe for GroupSpec
Blanket Implementations§
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