OmniSciDB  b28c0d5765
 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 2236 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2237 of file HeavyDBSqlOperatorTable.java.

2237  {
2238  super("ST_Centroid",
2239  SqlKind.OTHER_FUNCTION,
2240  null,
2241  null,
2242  OperandTypes.family(signature()),
2243  SqlFunctionCategory.SYSTEM);
2244  }

Member Function Documentation

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

Definition at line 2247 of file HeavyDBSqlOperatorTable.java.

2247  {
2248  assert opBinding.getOperandCount() == 1;
2249  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2250  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2251  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 2253 of file HeavyDBSqlOperatorTable.java.

2253  {
2254  java.util.List<SqlTypeFamily> st_centroid_sig =
2255  new java.util.ArrayList<SqlTypeFamily>();
2256  st_centroid_sig.add(SqlTypeFamily.ANY);
2257  return st_centroid_sig;
2258  }

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