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

Constructor & Destructor Documentation

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

Definition at line 1749 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid.signature().

1749  {
1750  super("ST_Centroid",
1751  SqlKind.OTHER_FUNCTION,
1752  null,
1753  null,
1754  OperandTypes.family(signature()),
1755  SqlFunctionCategory.SYSTEM);
1756  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1759 of file MapDSqlOperatorTable.java.

1759  {
1760  assert opBinding.getOperandCount() == 1;
1761  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1762  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1763  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 1765 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid.ST_Centroid().

1765  {
1766  java.util.List<SqlTypeFamily> st_centroid_sig =
1767  new java.util.ArrayList<SqlTypeFamily>();
1768  st_centroid_sig.add(SqlTypeFamily.ANY);
1769  return st_centroid_sig;
1770  }

+ Here is the caller graph for this function:


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