public abstract class ReflectiveSqlOperatorTable extends Object implements SqlOperatorTable
SqlOperatorTable interface
by reflecting the public fields of a subclass.| Modifier | Constructor and Description |
|---|---|
protected |
ReflectiveSqlOperatorTable() |
| Modifier and Type | Method and Description |
|---|---|
List<SqlOperator> |
getOperatorList()
Retrieves a list of all functions and operators in this table.
|
void |
init()
Performs post-constructor initialization of an operator 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.
|
void |
register(SqlOperator op)
Registers a function or operator in the table.
|
public static final String IS_NAME
public final void init()
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 void register(SqlOperator op)
public List<SqlOperator> getOperatorList()
SqlOperatorTablegetOperatorList in interface SqlOperatorTableCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.