Module mz_transform::analysis
source ยท Expand description
Traits and types for reusable expression analysis
Re-exportsยง
pub use common::Derived;
pub use common::DerivedBuilder;
pub use common::DerivedView;
pub use subtree::SubtreeSize;
Modulesยง
- arity ๐Expression arities
- cardinality ๐Definition and helper structs for the
Cardinality
Analysis. - column_
names ๐ - Types common across multiple analyses
- common_
lattice ๐ - An analysis that reports all known-equivalent expressions for each relation.
- explain ๐Derived Analysis framework and definitions.
- Analysis that determines the logical monotonicity of an expression.
- non_
negative ๐Determines if accumulated frequences can be negative. - Expression subtree sizes
- types ๐Expression types
- unique_
keys ๐Expression unique keys
Structsยง
- Analysis that determines the number of columns of relation expressions.
- Compute the estimated cardinality of each subtree of a MirRelationExpr from the bottom up.
- Compute the column types of each subtree of a MirRelationExpr from the bottom-up.
- Analysis that determines if all accumulations at all times are non-negative.
- Analysis that determines the type of relation expressions.
- Analysis that determines the unique keys of relation expressions.
Enumsยง
- An abstract type denoting an inferred column name.
Traitsยง
- An analysis that can be applied bottom-up to a
MirRelationExpr
. - Lattice methods for repeated analysis
Functionsยง
- Produce an
AnnotatedPlan
wrapping the givenMirRelationExpr
along withAnalyses
derived from the given context configuration.