OmniSciDB  6686921089
 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 1676 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1677 of file MapDSqlOperatorTable.java.

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

1677  {
1678  super("ST_Union",
1679  SqlKind.OTHER_FUNCTION,
1680  null,
1681  null,
1682  OperandTypes.family(signature()),
1683  SqlFunctionCategory.SYSTEM);
1684  }
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 1687 of file MapDSqlOperatorTable.java.

References INTEGER.

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

Definition at line 1693 of file MapDSqlOperatorTable.java.

References ANY.

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

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

+ Here is the caller graph for this function:


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