OmniSciDB  95562058bd
 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 1527 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1528 of file MapDSqlOperatorTable.java.

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

1528  {
1529  super("ST_Centroid",
1530  SqlKind.OTHER_FUNCTION,
1531  null,
1532  null,
1533  OperandTypes.family(signature()),
1534  SqlFunctionCategory.SYSTEM);
1535  }

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

References assert().

1538  {
1539  assert opBinding.getOperandCount() == 1;
1540  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1541  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1542  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 1544 of file MapDSqlOperatorTable.java.

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

1544  {
1545  java.util.List<SqlTypeFamily> st_centroid_sig =
1546  new java.util.ArrayList<SqlTypeFamily>();
1547  st_centroid_sig.add(SqlTypeFamily.ANY);
1548  return st_centroid_sig;
1549  }

+ Here is the caller graph for this function:


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