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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Difference ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 2391 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2392 of file HeavyDBSqlOperatorTable.java.

2392  {
2393  super("ST_Difference",
2394  SqlKind.OTHER_FUNCTION,
2395  null,
2396  null,
2397  OperandTypes.family(signature()),
2398  SqlFunctionCategory.SYSTEM);
2399  }

Member Function Documentation

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

Definition at line 2402 of file HeavyDBSqlOperatorTable.java.

2402  {
2403  assert opBinding.getOperandCount() == 2;
2404  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2405  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2406  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Difference.signature ( )
inlinestaticprivate

Definition at line 2408 of file HeavyDBSqlOperatorTable.java.

2408  {
2409  java.util.List<SqlTypeFamily> st_difference_sig =
2410  new java.util.ArrayList<SqlTypeFamily>();
2411  st_difference_sig.add(SqlTypeFamily.ANY);
2412  st_difference_sig.add(SqlTypeFamily.ANY);
2413  return st_difference_sig;
2414  }

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