public class ChainedSqlOperatorTable extends Object implements SqlOperatorTable
SqlOperatorTable interface by
chaining together any number of underlying operator table instances.
To create, call SqlOperatorTables.chain(java.lang.Iterable<org.apache.calcite.sql.SqlOperatorTable>).
| Modifier and Type | Field and Description |
|---|---|
protected List<SqlOperatorTable> |
tableList |
| Modifier | Constructor and Description |
|---|---|
protected |
ChainedSqlOperatorTable(com.google.common.collect.ImmutableList<SqlOperatorTable> tableList)
Internal constructor; call
SqlOperatorTables.chain(java.lang.Iterable<org.apache.calcite.sql.SqlOperatorTable>). |
|
ChainedSqlOperatorTable(List<SqlOperatorTable> tableList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(SqlOperatorTable table)
Deprecated.
|
List<SqlOperator> |
getOperatorList()
Retrieves a list of all functions and operators in this table.
|
void |
lookupOperatorOverloads(SqlIdentifier opName,
@Nullable SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList,
SqlNameMatcher nameMatcher)
Retrieves a list of operators with a given name and syntax.
|
protected final List<SqlOperatorTable> tableList
@Deprecated public ChainedSqlOperatorTable(List<SqlOperatorTable> tableList)
protected ChainedSqlOperatorTable(com.google.common.collect.ImmutableList<SqlOperatorTable> tableList)
SqlOperatorTables.chain(java.lang.Iterable<org.apache.calcite.sql.SqlOperatorTable>).@Deprecated public void add(SqlOperatorTable table)
public void lookupOperatorOverloads(SqlIdentifier opName, @Nullable SqlFunctionCategory category, SqlSyntax syntax, List<SqlOperator> operatorList, SqlNameMatcher nameMatcher)
SqlOperatorTablelookupOperatorOverloads in interface SqlOperatorTableopName - name of operatorcategory - function category to look up, or null for any matching
operatorsyntax - syntax type of operatoroperatorList - mutable list to which to append matchesnameMatcher - Name matcherpublic List<SqlOperator> getOperatorList()
SqlOperatorTablegetOperatorList in interface SqlOperatorTableCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.