| Package | Description |
|---|---|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
static Program |
Programs.CALC_PROGRAM
Program that converts filters and projects to calcs.
|
| Modifier and Type | Method and Description |
|---|---|
static Program |
Programs.getProgram() |
static Program |
Programs.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 |
Programs.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 Program |
Programs.of(HepProgram hepProgram,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a
HepProgram. |
static Program |
Programs.of(RuleSet ruleSet)
Creates a program that executes a rule set.
|
static Program |
Programs.ofRules(Collection<RelOptRule> rules)
Creates a program from a list of rules.
|
static Program |
Programs.ofRules(RelOptRule... rules)
Creates a program from a list of rules.
|
static Program |
Programs.sequence(Program... programs)
Creates a program that executes a sequence of programs.
|
static Program |
Programs.standard()
Returns the standard program used by Prepare.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Program> |
FrameworkConfig.getPrograms()
Returns a list of one or more programs used during the course of query
evaluation.
|
static List<Program> |
Programs.listOf(List<RuleSet> ruleSets)
Creates a list of programs based on a list of rule sets.
|
static List<Program> |
Programs.listOf(RuleSet... ruleSets)
Creates a list of programs based on an array of rule sets.
|
| Modifier and Type | Method and Description |
|---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.programs(Program... programs) |
static Program |
Programs.sequence(Program... programs)
Creates a program that executes a sequence of programs.
|
| Modifier and Type | Method and Description |
|---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.programs(List<Program> programs) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.