Uses of Interface
org.apache.calcite.tools.Program
-
Packages that use Program Package Description org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.tools Provides utility classes. -
-
Uses of Program in org.apache.calcite.prepare
Fields in org.apache.calcite.prepare with type parameters of type Program Modifier and Type Field Description private com.google.common.collect.ImmutableList<Program>
PlannerImpl. programs
Methods in org.apache.calcite.prepare that return Program Modifier and Type Method Description protected Program
Prepare. getProgram()
-
Uses of Program in org.apache.calcite.tools
Classes in org.apache.calcite.tools that implement Program Modifier and Type Class Description private static class
Programs.DecorrelateProgram
Program that de-correlates a query.(package private) static class
Programs.RuleSetProgram
Program backed by aRuleSet
.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.Fields in org.apache.calcite.tools declared as Program Modifier and Type Field Description static Program
Programs. CALC_PROGRAM
Program that converts filters and projects toCalc
s.static Program
Programs. SUB_QUERY_PROGRAM
Program that expands sub-queries.Fields in org.apache.calcite.tools with type parameters of type Program Modifier and Type Field 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
Methods in org.apache.calcite.tools that return Program Modifier and Type Method Description static Program
Programs. calc(RelMetadataProvider metadataProvider)
static Program
Programs. getProgram()
static Program
Programs. hep(java.lang.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(java.lang.Iterable<? extends RelOptRule> rules, boolean bushy, int minJoinCount)
Creates a program that invokes heuristic join-order optimization (viaJoinToMultiJoinRule
,MultiJoin
andLoptOptimizeJoinRule
) 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 aHepProgram
.static Program
Programs. of(RuleSet ruleSet)
Creates a program that executes a rule set.static Program
Programs. ofRules(java.lang.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)
Methods in org.apache.calcite.tools that return types with arguments of type Program Modifier and Type Method Description com.google.common.collect.ImmutableList<Program>
FrameworkConfig. getPrograms()
Returns a list of one or more programs used during the course of query evaluation.com.google.common.collect.ImmutableList<Program>
Frameworks.StdFrameworkConfig. getPrograms()
static java.util.List<Program>
Programs. listOf(java.util.List<RuleSet> ruleSets)
Creates a list of programs based on a list of rule sets.static java.util.List<Program>
Programs. listOf(RuleSet... ruleSets)
Creates a list of programs based on an array of rule sets.Methods in org.apache.calcite.tools with parameters of type Program Modifier and Type Method Description Frameworks.ConfigBuilder
Frameworks.ConfigBuilder. programs(Program... programs)
static Program
Programs. sequence(Program... programs)
Creates a program that executes a sequence of programs.Method parameters in org.apache.calcite.tools with type arguments of type Program Modifier and Type Method Description Frameworks.ConfigBuilder
Frameworks.ConfigBuilder. programs(java.util.List<Program> programs)
Constructor parameters in org.apache.calcite.tools with type arguments of type Program Constructor 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, boolean evolveLattice, SqlStatisticProvider statisticProvider, RelOptTable.ViewExpander viewExpander)
-