OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Union Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Union:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.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 2365 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2366 of file HeavyDBSqlOperatorTable.java.

2366  {
2367  super("ST_Union",
2368  SqlKind.OTHER_FUNCTION,
2369  null,
2370  null,
2371  OperandTypes.family(signature()),
2372  SqlFunctionCategory.SYSTEM);
2373  }

Member Function Documentation

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

Definition at line 2376 of file HeavyDBSqlOperatorTable.java.

2376  {
2377  assert opBinding.getOperandCount() == 2;
2378  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2379  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2380  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Union.signature ( )
inlinestaticprivate

Definition at line 2382 of file HeavyDBSqlOperatorTable.java.

2382  {
2383  java.util.List<SqlTypeFamily> st_union_sig =
2384  new java.util.ArrayList<SqlTypeFamily>();
2385  st_union_sig.add(SqlTypeFamily.ANY);
2386  st_union_sig.add(SqlTypeFamily.ANY);
2387  return st_union_sig;
2388  }

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