public class AlgebraicOptimization extends Simplification
algebraic_operators, data_constructors, functions, global_datatype_env, global_functions, global_macros, global_type_env, global_vars, identity, impure_functions, monoids, plan_names, plans_with_distributed_lambdas, repeat_variables, st, type_env, type_names
Constructor and Description |
---|
AlgebraicOptimization() |
Modifier and Type | Method and Description |
---|---|
static Tree |
common_factoring(Tree e)
if a term is used multiple times in a query, factor it out using let-expressions
|
static Tree |
translate_all(Tree e)
apply algebraic optimizations multiple times until no change
|
static Tree |
translate(Tree e)
algebraic optimization (algebra to algebra)
|
simplify_all, simplify
bind_pattern, normalize_all, normalize, remove_groupby, rename
alpha_equivalent, alpha_equivalent, collection_type, error, free_variables, global_reset, identity, is_collection, is_persistent_collection, is_pure, new_var, occurences, pattern_variables, persistent_collection, print_aggregates, reify, reify, reset, subst_list, subst_var, subst, template, top_level, transient_collection, translate_select, union
print_plan, print_query, print_type, print, reify
Copyright © 2013 The Apache Software Foundation. All rights reserved.