| 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
Deprecated.
|
static com.google.common.collect.ImmutableSet<RelOptRule> |
RULE_SET |
static Program |
SUB_QUERY_PROGRAM
Program that expands sub-queries.
|
| Modifier and Type | Method and Description |
|---|---|
static Program |
calc(RelMetadataProvider metadataProvider) |
static Program |
getProgram()
Deprecated.
|
static Program |
hep(Iterable<? extends RelOptRule> rules,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a list of rules in a HEP planner.
|
static Program |
heuristicJoinOrder(Iterable<? extends 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(Iterable<? extends 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.
|
static Program |
standard(RelMetadataProvider metadataProvider)
Returns the standard program with user metadata provider.
|
static Program |
subquery(RelMetadataProvider metadataProvider)
Deprecated.
|
static Program |
subQuery(RelMetadataProvider metadataProvider) |
@Deprecated public static final com.google.common.collect.ImmutableList<RelOptRule> CALC_RULES
public static final Program CALC_PROGRAM
Calcs.public static final Program SUB_QUERY_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(Iterable<? extends RelOptRule> rules)
public static Program sequence(Program... programs)
public static Program hep(Iterable<? extends RelOptRule> rules, boolean noDag, RelMetadataProvider metadataProvider)
public static Program of(HepProgram hepProgram, boolean noDag, RelMetadataProvider metadataProvider)
HepProgram.public static Program heuristicJoinOrder(Iterable<? extends RelOptRule> rules, boolean bushy, int minJoinCount)
JoinToMultiJoinRule,
MultiJoin and
LoptOptimizeJoinRule)
if there are 6 or more joins (7 or more relations).public static Program calc(RelMetadataProvider metadataProvider)
@Deprecated public static Program subquery(RelMetadataProvider metadataProvider)
public static Program subQuery(RelMetadataProvider metadataProvider)
@Deprecated public static Program getProgram()
public static Program standard()
public static Program standard(RelMetadataProvider metadataProvider)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.