OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1590 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1591 of file MapDSqlOperatorTable.java.

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

1591  {
1592  super("ST_Intersection",
1593  SqlKind.OTHER_FUNCTION,
1594  null,
1595  null,
1596  OperandTypes.family(signature()),
1597  SqlFunctionCategory.SYSTEM);
1598  }

+ 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 1601 of file MapDSqlOperatorTable.java.

References INTEGER.

1601  {
1602  assert opBinding.getOperandCount() == 2;
1603  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1604  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1605  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersection.signature ( )
inlinestaticprivate

Definition at line 1607 of file MapDSqlOperatorTable.java.

References ANY.

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

1607  {
1608  java.util.List<SqlTypeFamily> st_intersection_sig =
1609  new java.util.ArrayList<SqlTypeFamily>();
1610  st_intersection_sig.add(SqlTypeFamily.ANY);
1611  st_intersection_sig.add(SqlTypeFamily.ANY);
1612  return st_intersection_sig;
1613  }
#define ANY

+ Here is the caller graph for this function:


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