OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.CaseInsensitiveListSqlOperatorTable Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.CaseInsensitiveListSqlOperatorTable:
+ Collaboration diagram for com.mapd.calcite.parser.CaseInsensitiveListSqlOperatorTable:

Public Member Functions

void lookupOperatorOverloads (SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, List< SqlOperator > operatorList, SqlNameMatcher nameMatcher)
 

Detailed Description

Definition at line 90 of file HeavyDBSqlOperatorTable.java.

Member Function Documentation

void com.mapd.calcite.parser.CaseInsensitiveListSqlOperatorTable.lookupOperatorOverloads ( SqlIdentifier  opName,
SqlFunctionCategory  category,
SqlSyntax  syntax,
List< SqlOperator operatorList,
SqlNameMatcher  nameMatcher 
)
inline

Definition at line 92 of file HeavyDBSqlOperatorTable.java.

96  {
97  for (SqlOperator operator : this.getOperatorList()) {
98  if (operator.getSyntax() != syntax) {
99  continue;
100  }
101  if (!opName.isSimple()
102  || !nameMatcher.matches(operator.getName(), opName.getSimple())) {
103  continue;
104  }
105  SqlFunctionCategory functionCategory;
106  if (operator instanceof SqlFunction) {
107  functionCategory = ((SqlFunction) operator).getFunctionType();
108  } else {
109  functionCategory = SqlFunctionCategory.SYSTEM;
110  }
111  if (category != functionCategory
112  && category != SqlFunctionCategory.USER_DEFINED_FUNCTION) {
113  continue;
114  }
115  operatorList.add(operator);
116  }
117  }

The documentation for this class was generated from the following file: