Crate expr[][src]

Core expression language.

Modules

explain

This module houses a pretty printer for MirRelationExprs.

id
like_pattern
linear
relation
scalar

Structs

AggregateExpr

Describes an aggregation expression.

AnalyzedRegex
CaptureGroupDesc
ColumnOrder

Specification for an ordering by a column.

DummyHumanizer

A bare-minimum implementation of ExprHumanizer.

IdGen

Manages the allocation of locally unique IDs when building a MirRelationExpr.

JoinInputMapper

Any column in a join expression exists in two contexts:

LocalId

The identifier for a local component of a dataflow.

MapFilterProject

A compound operator that can be applied row-by-row.

OptimizedMirRelationExpr

A MirRelationExpr that claims to have been optimized, e.g., by an [Optimizer].

RowSetFinishing

Instructions for finishing the result of a query.

SourceInstanceId

Unique identifier for an instantiation of a source.

Enums

AggregateFunc
BinaryFunc
EvalError
GlobalId

The identifier for a global dataflow.

Id

An opaque identifier for a dataflow component. In other words, identifies the target of a MirRelationExpr::Get.

JoinImplementation

Describe a join implementation in dataflow.

MirRelationExpr

An abstract syntax tree which defines a collection.

MirScalarExpr
NullaryFunc
PartitionId

Unique identifier for each part of a whole source. Kafka -> partition Kinesis -> shard File -> only one S3 -> https://github.com/MaterializeInc/materialize/issues/5715

TableFunc
UnaryFunc
VariadicFunc

Traits

ExprHumanizer

A trait for humanizing components of an expression.

Functions

compare_columns

Compare left and right using order. If that doesn't produce a strict ordering, call tiebreaker.