public class CalciteConfigBuilder extends Object
Constructor and Description |
---|
CalciteConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
CalciteConfigBuilder |
addDecoRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
Appends the given decoration rule set to the built-in rule set.
|
CalciteConfigBuilder |
addLogicalOptRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
Appends the given optimization rule set to the built-in rule set.
|
CalciteConfigBuilder |
addNormRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
Appends the given normalization rule set to the built-in rule set.
|
CalciteConfigBuilder |
addPhysicalOptRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
Appends the given optimization rule set to the built-in rule set.
|
CalciteConfigBuilder |
addSqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable addedSqlOperatorTable)
Appends the given table to the built-in SQL operator table.
|
CalciteConfig |
build()
Builds a new
CalciteConfig . |
CalciteConfigBuilder |
replaceDecoRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
Replaces the built-in decoration rule set with the given rule set.
|
CalciteConfigBuilder |
replaceLogicalOptRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
Replaces the built-in optimization rule set with the given rule set.
|
CalciteConfigBuilder |
replaceNormRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
Replaces the built-in normalization rule set with the given rule set.
|
CalciteConfigBuilder |
replacePhysicalOptRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
Replaces the built-in optimization rule set with the given rule set.
|
CalciteConfigBuilder |
replaceSqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable replaceSqlOperatorTable)
Replaces the built-in SQL operator table with the given table.
|
CalciteConfigBuilder |
replaceSqlParserConfig(org.apache.calcite.sql.parser.SqlParser.Config sqlParserConfig)
Replaces the built-in SQL parser configuration with the given configuration.
|
public CalciteConfigBuilder replaceNormRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
replaceRuleSet
- (undocumented)public CalciteConfigBuilder addNormRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
addedRuleSet
- (undocumented)public CalciteConfigBuilder replaceLogicalOptRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
replaceRuleSet
- (undocumented)public CalciteConfigBuilder addLogicalOptRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
addedRuleSet
- (undocumented)public CalciteConfigBuilder replacePhysicalOptRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
replaceRuleSet
- (undocumented)public CalciteConfigBuilder addPhysicalOptRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
addedRuleSet
- (undocumented)public CalciteConfigBuilder replaceDecoRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
The decoration rules are applied after the cost-based optimization phase. The decoration phase allows to rewrite the optimized plan and is not cost-based.
replaceRuleSet
- (undocumented)public CalciteConfigBuilder addDecoRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
The decoration rules are applied after the cost-based optimization phase. The decoration phase allows to rewrite the optimized plan and is not cost-based.
addedRuleSet
- (undocumented)public CalciteConfigBuilder replaceSqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable replaceSqlOperatorTable)
replaceSqlOperatorTable
- (undocumented)public CalciteConfigBuilder addSqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable addedSqlOperatorTable)
addedSqlOperatorTable
- (undocumented)public CalciteConfigBuilder replaceSqlParserConfig(org.apache.calcite.sql.parser.SqlParser.Config sqlParserConfig)
sqlParserConfig
- (undocumented)public CalciteConfig build()
CalciteConfig
.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.