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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Equals ()
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
signature ()
 

Detailed Description

Definition at line 1536 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Equals.ST_Equals ( )
inlinepackage

Definition at line 1537 of file HeavyDBSqlOperatorTable.java.

1537  {
1538  super("ST_Equals",
1539  SqlKind.OTHER_FUNCTION,
1540  null,
1541  null,
1542  OperandTypes.family(signature()),
1543  SqlFunctionCategory.SYSTEM);
1544  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Equals.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1547 of file HeavyDBSqlOperatorTable.java.

1547  {
1548  assert opBinding.getOperandCount() == 2;
1549  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1550  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
1551  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Equals.signature ( )
inlinestaticprivate

Definition at line 1553 of file HeavyDBSqlOperatorTable.java.

1553  {
1554  java.util.List<SqlTypeFamily> st_equals_sig =
1555  new java.util.ArrayList<SqlTypeFamily>();
1556  st_equals_sig.add(SqlTypeFamily.ANY);
1557  st_equals_sig.add(SqlTypeFamily.ANY);
1558  return st_equals_sig;
1559  }

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