public class Normalization extends Translator
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 |
---|
Normalization() |
Modifier and Type | Method and Description |
---|---|
(package private) static Trees |
bind_pattern(Tree pattern,
Tree e)
given that pattern=e, find the bindings of the pattern variables
|
static Tree |
normalize_all(Tree e)
normalize algebraic expressions to more efficient forms using heuristic rules
|
static Tree |
normalize(Tree e)
normalize algebraic expressions to more efficient forms using heuristic rules
|
(package private) static Tree |
remove_groupby(Tree e)
remove group-bys and order-bys from the MRQL queries
|
(package private) static Tree |
rename(Tree e)
compile away patterns and rename local variables of an MRQL expression e with unique names
|
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
static Trees bind_pattern(Tree pattern, Tree e)
static Tree remove_groupby(Tree e)
static Tree rename(Tree e)
public static Tree normalize(Tree e)
Copyright © 2013-2016 The Apache Software Foundation. All Rights Reserved.