public class ChainedSqlOperatorTable extends Object implements SqlOperatorTable
SqlOperatorTable interface by
chaining together any number of underlying operator table instances.| Modifier and Type | Field and Description |
|---|---|
protected List<SqlOperatorTable> |
tableList |
| Constructor and Description |
|---|
ChainedSqlOperatorTable(List<SqlOperatorTable> tableList)
Creates a table based on a given list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(SqlOperatorTable table)
Adds an underlying table.
|
List<SqlOperator> |
getOperatorList()
Retrieves a list of all functions and operators in this table.
|
void |
lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList)
Retrieves a list of operators with a given name and syntax.
|
protected final List<SqlOperatorTable> tableList
public ChainedSqlOperatorTable(List<SqlOperatorTable> tableList)
public void add(SqlOperatorTable table)
table - table to addpublic void lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, List<SqlOperator> operatorList)
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 matchespublic List<SqlOperator> getOperatorList()
SqlOperatorTablegetOperatorList in interface SqlOperatorTableCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.