OmniSciDB  a667adc9c8
 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 1539 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1540 of file MapDSqlOperatorTable.java.

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

1540  {
1541  super("ST_Centroid",
1542  SqlKind.OTHER_FUNCTION,
1543  null,
1544  null,
1545  OperandTypes.family(signature()),
1546  SqlFunctionCategory.SYSTEM);
1547  }

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

References INTEGER.

1550  {
1551  assert opBinding.getOperandCount() == 1;
1552  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1553  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1554  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid.signature ( )
inlinestaticprivate

Definition at line 1556 of file MapDSqlOperatorTable.java.

References ANY.

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

1556  {
1557  java.util.List<SqlTypeFamily> st_centroid_sig =
1558  new java.util.ArrayList<SqlTypeFamily>();
1559  st_centroid_sig.add(SqlTypeFamily.ANY);
1560  return st_centroid_sig;
1561  }
#define ANY

+ Here is the caller graph for this function:


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