OmniSciDB  4201147b46
 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 2062 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2063 of file HeavyDBSqlOperatorTable.java.

2063  {
2064  super("ST_Intersection",
2065  SqlKind.OTHER_FUNCTION,
2066  null,
2067  null,
2068  OperandTypes.family(signature()),
2069  SqlFunctionCategory.SYSTEM);
2070  }

Member Function Documentation

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

Definition at line 2073 of file HeavyDBSqlOperatorTable.java.

2073  {
2074  assert opBinding.getOperandCount() == 2;
2075  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2076  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2077  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersection.signature ( )
inlinestaticprivate

Definition at line 2079 of file HeavyDBSqlOperatorTable.java.

2079  {
2080  java.util.List<SqlTypeFamily> st_intersection_sig =
2081  new java.util.ArrayList<SqlTypeFamily>();
2082  st_intersection_sig.add(SqlTypeFamily.ANY);
2083  st_intersection_sig.add(SqlTypeFamily.ANY);
2084  return st_intersection_sig;
2085  }

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