|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.sql.util.ChainedSqlOperatorTable
public class ChainedSqlOperatorTable
ChainedSqlOperatorTable implements the SqlOperatorTable
interface by
chaining together any number of underlying operator table instances.
Field Summary | |
---|---|
private List<SqlOperatorTable> |
tableList
|
Constructor Summary | |
---|---|
ChainedSqlOperatorTable()
Creates a new empty table. |
Method Summary | |
---|---|
void |
add(SqlOperatorTable table)
Adds an underlying table. |
List<SqlOperator> |
getOperatorList()
Retrieves a list of all functions and operators in this table. |
List<SqlOperator> |
lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax)
Retrieves a list of operators with a given name and syntax. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final List<SqlOperatorTable> tableList
Constructor Detail |
---|
public ChainedSqlOperatorTable()
Method Detail |
---|
public void add(SqlOperatorTable table)
table
- table to addpublic List<SqlOperator> lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax)
SqlOperatorTable
lookupOperatorOverloads
in interface SqlOperatorTable
opName
- name of operatorcategory
- function category to look up, or null for any matching
operatorsyntax
- syntax type of operator
public List<SqlOperator> getOperatorList()
SqlOperatorTable
getOperatorList
in interface SqlOperatorTable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |