OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1599 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1600 of file MapDSqlOperatorTable.java.

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

1600  {
1601  super("ST_Centroid",
1602  SqlKind.OTHER_FUNCTION,
1603  null,
1604  null,
1605  OperandTypes.family(signature()),
1606  SqlFunctionCategory.SYSTEM);
1607  }

+ 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 1610 of file MapDSqlOperatorTable.java.

References INTEGER.

1610  {
1611  assert opBinding.getOperandCount() == 1;
1612  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1613  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1614  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 1616 of file MapDSqlOperatorTable.java.

References ANY.

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

1616  {
1617  java.util.List<SqlTypeFamily> st_centroid_sig =
1618  new java.util.ArrayList<SqlTypeFamily>();
1619  st_centroid_sig.add(SqlTypeFamily.ANY);
1620  return st_centroid_sig;
1621  }
#define ANY

+ Here is the caller graph for this function:


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