OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 918 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 919 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals.signature().

919  {
920  super("ST_Equals",
921  SqlKind.OTHER_FUNCTION,
922  null,
923  null,
924  OperandTypes.family(signature()),
925  SqlFunctionCategory.SYSTEM);
926  }
static java.util.List< SqlTypeFamily > signature()

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 929 of file MapDSqlOperatorTable.java.

References BOOLEAN.

929  {
930  assert opBinding.getOperandCount() == 2;
931  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
932  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
933  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals.signature ( )
inlinestaticprivate

Definition at line 935 of file MapDSqlOperatorTable.java.

References ANY.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals.ST_Equals().

935  {
936  java.util.List<SqlTypeFamily> st_equals_sig =
937  new java.util.ArrayList<SqlTypeFamily>();
938  st_equals_sig.add(SqlTypeFamily.ANY);
939  st_equals_sig.add(SqlTypeFamily.ANY);
940  return st_equals_sig;
941  }
#define ANY

+ Here is the caller graph for this function:


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