pub type BoundMatchSpec = MatchRecognizeSpec<BoundMatchExpr>;Expand description
A MATCH_RECOGNIZE request whose expressions are bound to DataFusion
columns, functions, and Arrow types.
Aliased Type§
pub struct BoundMatchSpec {
pub partition_by: Vec<MatchExpr<Expr, Column, MatchPatternFieldRef>>,
pub order_by: Vec<MatchRecognizeSortExpr<MatchExpr<Expr, Column, MatchPatternFieldRef>>>,
pub source_rows_per_match: RowsPerMatch,
pub after_match_skip: AfterMatchSkip,
pub pattern: Pattern,
pub symbols: Vec<String>,
pub definitions: Vec<MatchRecognizeDefinition<MatchExpr<Expr, Column, MatchPatternFieldRef>>>,
pub measures: Vec<MatchRecognizeMeasure<MatchExpr<Expr, Column, MatchPatternFieldRef>>>,
pub output: MatchRecognizeOutputContract<MatchExpr<Expr, Column, MatchPatternFieldRef>>,
}Fields§
§partition_by: Vec<MatchExpr<Expr, Column, MatchPatternFieldRef>>PARTITION BY expressions.
order_by: Vec<MatchRecognizeSortExpr<MatchExpr<Expr, Column, MatchPatternFieldRef>>>ORDER BY expressions and sort options.
source_rows_per_match: RowsPerMatchONE ROW PER MATCH / ALL ROWS PER MATCH source output mode.
after_match_skip: AfterMatchSkipAFTER MATCH SKIP behavior.
pattern: PatternSource pattern AST.
symbols: Vec<String>Complete declared pattern-symbol domain in importer order.
Planning canonicalizes case-insensitive names into deterministic order before assigning numeric identifiers.
definitions: Vec<MatchRecognizeDefinition<MatchExpr<Expr, Column, MatchPatternFieldRef>>>DEFINE predicates keyed by symbol.
measures: Vec<MatchRecognizeMeasure<MatchExpr<Expr, Column, MatchPatternFieldRef>>>MEASURES expressions.
output: MatchRecognizeOutputContract<MatchExpr<Expr, Column, MatchPatternFieldRef>>How the consumer should build the output projection.