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

Constructor & Destructor Documentation

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

Definition at line 1617 of file MapDSqlOperatorTable.java.

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

1617  {
1618  super("ST_Union",
1619  SqlKind.OTHER_FUNCTION,
1620  null,
1621  null,
1622  OperandTypes.family(signature()),
1623  SqlFunctionCategory.SYSTEM);
1624  }
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 1627 of file MapDSqlOperatorTable.java.

References INTEGER.

1627  {
1628  assert opBinding.getOperandCount() == 2;
1629  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1630  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1631  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union.signature ( )
inlinestaticprivate

Definition at line 1633 of file MapDSqlOperatorTable.java.

References ANY.

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

1633  {
1634  java.util.List<SqlTypeFamily> st_union_sig =
1635  new java.util.ArrayList<SqlTypeFamily>();
1636  st_union_sig.add(SqlTypeFamily.ANY);
1637  st_union_sig.add(SqlTypeFamily.ANY);
1638  return st_union_sig;
1639  }
#define ANY

+ Here is the caller graph for this function:


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