OmniSciDB  2e3a973ef4
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 1604 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Union()

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

Definition at line 1605 of file MapDSqlOperatorTable.java.

1605  {
1606  super("ST_Union",
1607  SqlKind.OTHER_FUNCTION,
1608  null,
1609  null,
1610  OperandTypes.family(signature()),
1611  SqlFunctionCategory.SYSTEM);
1612  }
static java.util.List< SqlTypeFamily > signature()

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1615 of file MapDSqlOperatorTable.java.

1615  {
1616  assert opBinding.getOperandCount() == 2;
1617  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1618  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1619  }

◆ signature()

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union.signature ( )
inlinestaticprivate

Definition at line 1621 of file MapDSqlOperatorTable.java.

1621  {
1622  java.util.List<SqlTypeFamily> st_union_sig =
1623  new java.util.ArrayList<SqlTypeFamily>();
1624  st_union_sig.add(SqlTypeFamily.ANY);
1625  st_union_sig.add(SqlTypeFamily.ANY);
1626  return st_union_sig;
1627  }

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