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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Intersection ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 2339 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2340 of file HeavyDBSqlOperatorTable.java.

2340  {
2341  super("ST_Intersection",
2342  SqlKind.OTHER_FUNCTION,
2343  null,
2344  null,
2345  OperandTypes.family(signature()),
2346  SqlFunctionCategory.SYSTEM);
2347  }

Member Function Documentation

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

Definition at line 2350 of file HeavyDBSqlOperatorTable.java.

2350  {
2351  assert opBinding.getOperandCount() == 2;
2352  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2353  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2354  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersection.signature ( )
inlinestaticprivate

Definition at line 2356 of file HeavyDBSqlOperatorTable.java.

2356  {
2357  java.util.List<SqlTypeFamily> st_intersection_sig =
2358  new java.util.ArrayList<SqlTypeFamily>();
2359  st_intersection_sig.add(SqlTypeFamily.ANY);
2360  st_intersection_sig.add(SqlTypeFamily.ANY);
2361  return st_intersection_sig;
2362  }

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