OmniSciDB  4201147b46
 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 2011 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2012 of file HeavyDBSqlOperatorTable.java.

2012  {
2013  super("ST_Centroid",
2014  SqlKind.OTHER_FUNCTION,
2015  null,
2016  null,
2017  OperandTypes.family(signature()),
2018  SqlFunctionCategory.SYSTEM);
2019  }

Member Function Documentation

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

Definition at line 2022 of file HeavyDBSqlOperatorTable.java.

2022  {
2023  assert opBinding.getOperandCount() == 1;
2024  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2025  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2026  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 2028 of file HeavyDBSqlOperatorTable.java.

2028  {
2029  java.util.List<SqlTypeFamily> st_centroid_sig =
2030  new java.util.ArrayList<SqlTypeFamily>();
2031  st_centroid_sig.add(SqlTypeFamily.ANY);
2032  return st_centroid_sig;
2033  }

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