OmniSciDB  16c4e035a1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Union ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1677 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1678 of file MapDSqlOperatorTable.java.

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

1678  {
1679  super("ST_Union",
1680  SqlKind.OTHER_FUNCTION,
1681  null,
1682  null,
1683  OperandTypes.family(signature()),
1684  SqlFunctionCategory.SYSTEM);
1685  }
static java.util.List< SqlTypeFamily > signature()

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1688 of file MapDSqlOperatorTable.java.

References INTEGER.

1688  {
1689  assert opBinding.getOperandCount() == 2;
1690  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1691  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1692  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union.signature ( )
inlinestaticprivate

Definition at line 1694 of file MapDSqlOperatorTable.java.

References ANY.

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

1694  {
1695  java.util.List<SqlTypeFamily> st_union_sig =
1696  new java.util.ArrayList<SqlTypeFamily>();
1697  st_union_sig.add(SqlTypeFamily.ANY);
1698  st_union_sig.add(SqlTypeFamily.ANY);
1699  return st_union_sig;
1700  }
#define ANY

+ Here is the caller graph for this function:


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