public class CalciteConfigBuilder extends Object
Constructor and Description |
---|
CalciteConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
CalciteConfigBuilder |
addRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
Appends the given 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 |
replaceRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
Replaces the built-in 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 replaceRuleSet(org.apache.calcite.tools.RuleSet replaceRuleSet)
public CalciteConfigBuilder addRuleSet(org.apache.calcite.tools.RuleSet addedRuleSet)
public CalciteConfigBuilder replaceSqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable replaceSqlOperatorTable)
public CalciteConfigBuilder addSqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable addedSqlOperatorTable)
public CalciteConfigBuilder replaceSqlParserConfig(org.apache.calcite.sql.parser.SqlParser.Config sqlParserConfig)
public CalciteConfig build()
CalciteConfig
.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.