Struct dataflow_types::plan::top_k::BasicTopKPlan [−][src]
pub struct BasicTopKPlan {
pub group_key: Vec<usize>,
pub order_key: Vec<ColumnOrder>,
pub limit: Option<usize>,
pub offset: usize,
pub arity: usize,
}
Expand description
A plan for generic TopKs that don’t fit any more specific category.
Fields
group_key: Vec<usize>
The columns that form the key for each group.
order_key: Vec<ColumnOrder>
Ordering that is used within each group.
limit: Option<usize>
Optionally, an upper bound on the per-group ordinal position of the records to produce from each group.
offset: usize
A lower bound on the per-group ordinal position of the records to produce from each group.
This can be set to zero to have no effect.
arity: usize
The number of columns in the input and output.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BasicTopKPlan
impl Send for BasicTopKPlan
impl Sync for BasicTopKPlan
impl Unpin for BasicTopKPlan
impl UnwindSafe for BasicTopKPlan
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more