Skip to main content

PbMatchRecognizeMeasureSlot

Type Alias PbMatchRecognizeMeasureSlot 

Source
pub type PbMatchRecognizeMeasureSlot = MatchRecognizeMeasureSlot;

Aliased Type§

pub struct PbMatchRecognizeMeasureSlot {
    pub kind: i32,
    pub vars: Vec<String>,
    pub col_idx: u32,
    pub data_type: Option<DataType>,
    pub agg_call: Option<AggCall>,
}

Fields§

§kind: i32§vars: Vec<String>

The pattern variables this slot navigates over: one for a plain variable, several for a SUBSET union variable. Empty for CLASSIFIER. A row matches if its label is any of these.

§col_idx: u32§data_type: Option<DataType>§agg_call: Option<AggCall>

The aggregate to run for KIND_SUM, over a single input column (the projected col_idx) of the rows labeled by vars. Its single arg is an InputRef to column 0.