OmniSciDB  c1a53651b2
 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 2352 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2353 of file HeavyDBSqlOperatorTable.java.

2353  {
2354  super("ST_Intersection",
2355  SqlKind.OTHER_FUNCTION,
2356  null,
2357  null,
2358  OperandTypes.family(signature()),
2359  SqlFunctionCategory.SYSTEM);
2360  }

Member Function Documentation

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

Definition at line 2363 of file HeavyDBSqlOperatorTable.java.

2363  {
2364  assert opBinding.getOperandCount() == 2;
2365  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2366  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2367  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersection.signature ( )
inlinestaticprivate

Definition at line 2369 of file HeavyDBSqlOperatorTable.java.

2369  {
2370  java.util.List<SqlTypeFamily> st_intersection_sig =
2371  new java.util.ArrayList<SqlTypeFamily>();
2372  st_intersection_sig.add(SqlTypeFamily.ANY);
2373  st_intersection_sig.add(SqlTypeFamily.ANY);
2374  return st_intersection_sig;
2375  }

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