OmniSciDB  085a039ca4
 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 71 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 73 of file HeavyDBSqlOperatorTable.java.

77  {
78  for (SqlOperator operator : this.getOperatorList()) {
79  if (operator.getSyntax() != syntax) {
80  continue;
81  }
82  if (!opName.isSimple()
83  || !nameMatcher.matches(operator.getName(), opName.getSimple())) {
84  continue;
85  }
86  SqlFunctionCategory functionCategory;
87  if (operator instanceof SqlFunction) {
88  functionCategory = ((SqlFunction) operator).getFunctionType();
89  } else {
90  functionCategory = SqlFunctionCategory.SYSTEM;
91  }
92  if (category != functionCategory
93  && category != SqlFunctionCategory.USER_DEFINED_FUNCTION) {
94  continue;
95  }
96  operatorList.add(operator);
97  }
98  }

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