OmniSciDB  16c4e035a1
 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 1600 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1601 of file MapDSqlOperatorTable.java.

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

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

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

References INTEGER.

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

Definition at line 1617 of file MapDSqlOperatorTable.java.

References ANY.

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

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

+ Here is the caller graph for this function:


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