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 ๐ - common
- Types common across multiple analyses
- common_
lattice ๐ - equivalences
- An analysis that reports all known-equivalent expressions for each relation.
- explain ๐
- Derived Analysis framework and definitions.
- monotonic
- Analysis that determines the logical monotonicity of an expression.
- non_
negative ๐ - Determines if accumulated frequences can be negative.
- subtree
- Expression subtree sizes
- types ๐
- Expression types
- unique_
keys ๐ - Expression unique keys
Structsยง
- Arity
- Analysis that determines the number of columns of relation expressions.
- Cardinality
- Compute the estimated cardinality of each subtree of a MirRelationExpr from the bottom up.
- Column
Names - Compute the column types of each subtree of a MirRelationExpr from the bottom-up.
- NonNegative
- Analysis that determines if all accumulations at all times are non-negative.
- SqlRelation
Type - Analysis that determines the type of relation expressions.
- Unique
Keys - Analysis that determines the unique keys of relation expressions.
Enumsยง
- Column
Name - An abstract type denoting an inferred column name.
Traitsยง
- Analysis
- An analysis that can be applied bottom-up to a
MirRelationExpr
. - Lattice
- Lattice methods for repeated analysis
Functionsยง
- annotate_
plan - Produce an
AnnotatedPlan
wrapping the givenMirRelationExpr
along withAnalyses
derived from the given context configuration.