Module mz_transform::analysis

source ยท
Expand description

Traits and types for reusable expression analysis

Re-exportsยง

Modulesยง

  • arity ๐Ÿ”’
    Expression arities
  • cardinality ๐Ÿ”’
    Definition and helper structs for the Cardinality attribute.
  • column_names ๐Ÿ”’
  • Types common across multiple analyses
  • common_lattice ๐Ÿ”’
  • An analysis that reports all known-equivalent expressions for each relation.
  • explain ๐Ÿ”’
    Derived attributes 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ยง