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

Constructor & Destructor Documentation

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

Definition at line 1651 of file MapDSqlOperatorTable.java.

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

1651  {
1652  super("ST_Intersection",
1653  SqlKind.OTHER_FUNCTION,
1654  null,
1655  null,
1656  OperandTypes.family(signature()),
1657  SqlFunctionCategory.SYSTEM);
1658  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1661 of file MapDSqlOperatorTable.java.

References INTEGER.

1661  {
1662  assert opBinding.getOperandCount() == 2;
1663  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1664  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1665  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersection.signature ( )
inlinestaticprivate

Definition at line 1667 of file MapDSqlOperatorTable.java.

References ANY.

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

1667  {
1668  java.util.List<SqlTypeFamily> st_intersection_sig =
1669  new java.util.ArrayList<SqlTypeFamily>();
1670  st_intersection_sig.add(SqlTypeFamily.ANY);
1671  st_intersection_sig.add(SqlTypeFamily.ANY);
1672  return st_intersection_sig;
1673  }
#define ANY

+ Here is the caller graph for this function:


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