| Modifier and Type | Field and Description |
|---|---|
static Program |
CALC_PROGRAM
Program that converts filters and projects to calcs.
|
static com.google.common.collect.ImmutableList<RelOptRule> |
CALC_RULES |
static com.google.common.collect.ImmutableSet<RelOptRule> |
RULE_SET |
| Modifier and Type | Method and Description |
|---|---|
static Program |
getProgram() |
static Program |
hep(com.google.common.collect.ImmutableList<RelOptRule> rules,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a list of rules in a HEP planner.
|
static Program |
heuristicJoinOrder(Collection<RelOptRule> rules,
boolean bushy,
int minJoinCount)
Creates a program that invokes heuristic join-order optimization
(via
JoinToMultiJoinRule,
MultiJoin and
LoptOptimizeJoinRule)
if there are 6 or more joins (7 or more relations). |
static List<Program> |
listOf(List<RuleSet> ruleSets)
Creates a list of programs based on a list of rule sets.
|
static List<Program> |
listOf(RuleSet... ruleSets)
Creates a list of programs based on an array of rule sets.
|
static Program |
of(HepProgram hepProgram,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a
HepProgram. |
static Program |
of(RuleSet ruleSet)
Creates a program that executes a rule set.
|
static Program |
ofRules(Collection<RelOptRule> rules)
Creates a program from a list of rules.
|
static Program |
ofRules(RelOptRule... rules)
Creates a program from a list of rules.
|
static Program |
sequence(Program... programs)
Creates a program that executes a sequence of programs.
|
static Program |
standard()
Returns the standard program used by Prepare.
|
public static final com.google.common.collect.ImmutableList<RelOptRule> CALC_RULES
public static final Program CALC_PROGRAM
public static final com.google.common.collect.ImmutableSet<RelOptRule> RULE_SET
public static List<Program> listOf(RuleSet... ruleSets)
public static List<Program> listOf(List<RuleSet> ruleSets)
public static Program ofRules(RelOptRule... rules)
public static Program ofRules(Collection<RelOptRule> rules)
public static Program sequence(Program... programs)
public static Program hep(com.google.common.collect.ImmutableList<RelOptRule> rules, boolean noDag, RelMetadataProvider metadataProvider)
public static Program of(HepProgram hepProgram, boolean noDag, RelMetadataProvider metadataProvider)
HepProgram.public static Program heuristicJoinOrder(Collection<RelOptRule> rules, boolean bushy, int minJoinCount)
JoinToMultiJoinRule,
MultiJoin and
LoptOptimizeJoinRule)
if there are 6 or more joins (7 or more relations).public static Program getProgram()
public static Program standard()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.