Module mz_transform::attribute
source · Expand description
Derived attributes framework and definitions.
Re-exports
pub use cardinality::Cardinality;
Modules
- Definition and helper structs for the
Cardinality
attribute.
Structs
- Compute the column types of each subtree of a MirRelationExpr from the bottom-up.
- A store of attribute derivation algorithms.
- Compute the column types of each subtree of a MirRelationExpr from the bottom-up.
- Derives an attribute and any attribute it depends on.
- A builder for
DerivedAttributes
instances. Builds an DerivedAttributes - A map that keeps the computed
A
values for allLocalId
bindings in the current environment. - Traverses a
MirRelationExpr
tree and figures out whether for subtree the sum of all diffs up to a specific time for any record can be a negative value. - Compute the column types of each subtree of a MirRelationExpr from the bottom-up.
- Compute the number of MirRelationExpr in each subtree in a bottom-up manner.
- Compute the unique keys of each subtree of a MirRelationExpr from the bottom-up.
Traits
- A common interface to be implemented by all derived attributes.
- An API for manipulating the of type
A
an enclosing store.
Functions
- Produce an
AnnotatedPlan
wrapping the givenMirRelationExpr
along withAttributes
derived from the given context configuration.