| Package | Description |
|---|---|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<Program> |
PlannerImpl.programs |
| Modifier and Type | Method and Description |
|---|---|
protected Program |
Prepare.getProgram() |
| Modifier and Type | Class and Description |
|---|---|
private static class |
Programs.DecorrelateProgram
Program that de-correlates a query.
|
(package private) static class |
Programs.RuleSetProgram
Program backed by a
RuleSet. |
private static class |
Programs.SequenceProgram
Program that runs sub-programs, sending the output of the previous as
input to the next.
|
private static class |
Programs.TrimFieldsProgram
Program that trims fields.
|
| Modifier and Type | Field and Description |
|---|---|
static Program |
Programs.CALC_PROGRAM
Program that converts filters and projects to
Calcs. |
static Program |
Programs.SUB_QUERY_PROGRAM
Program that expands sub-queries.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<Program> |
Frameworks.ConfigBuilder.programs |
private com.google.common.collect.ImmutableList<Program> |
Frameworks.StdFrameworkConfig.programs |
private com.google.common.collect.ImmutableList<Program> |
Programs.SequenceProgram.programs |
private static com.google.common.base.Function<RuleSet,Program> |
Programs.RULE_SET_TO_PROGRAM |
| Modifier and Type | Method and Description |
|---|---|
static Program |
Programs.calc(RelMetadataProvider metadataProvider) |
static Program |
Programs.getProgram() |
static Program |
Programs.hep(Iterable<? extends RelOptRule> rules,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a list of rules in a HEP planner.
|
static Program |
Programs.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 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(Iterable<? extends 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.
|
static Program |
Programs.standard(RelMetadataProvider metadataProvider)
Returns the standard program with user metadata provider.
|
static Program |
Programs.subquery(RelMetadataProvider metadataProvider)
Deprecated.
|
static Program |
Programs.subQuery(RelMetadataProvider metadataProvider) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Program> |
Frameworks.StdFrameworkConfig.getPrograms() |
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) |
| Constructor and Description |
|---|
SequenceProgram(com.google.common.collect.ImmutableList<Program> programs) |
StdFrameworkConfig(Context context,
SqlRexConvertletTable convertletTable,
SqlOperatorTable operatorTable,
com.google.common.collect.ImmutableList<Program> programs,
com.google.common.collect.ImmutableList<RelTraitDef> traitDefs,
SqlParser.Config parserConfig,
SqlToRelConverter.Config sqlToRelConverterConfig,
SchemaPlus defaultSchema,
RelOptCostFactory costFactory,
RelDataTypeSystem typeSystem,
RexExecutor executor) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.