OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Centroid Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Centroid:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Centroid:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Centroid ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 2633 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2634 of file HeavyDBSqlOperatorTable.java.

2634  {
2635  super("ST_Centroid",
2636  SqlKind.OTHER_FUNCTION,
2637  null,
2638  null,
2639  OperandTypes.family(signature()),
2640  SqlFunctionCategory.SYSTEM);
2641  }

Member Function Documentation

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

Definition at line 2644 of file HeavyDBSqlOperatorTable.java.

2644  {
2645  assert opBinding.getOperandCount() == 1;
2646  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2647  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2648  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 2650 of file HeavyDBSqlOperatorTable.java.

2650  {
2651  java.util.List<SqlTypeFamily> st_centroid_sig =
2652  new java.util.ArrayList<SqlTypeFamily>();
2653  st_centroid_sig.add(SqlTypeFamily.ANY);
2654  return st_centroid_sig;
2655  }

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