OmniSciDB  addbbd5075
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Perimeter Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Perimeter:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Perimeter:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Perimeter ()
 

Detailed Description

Definition at line 1232 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1233 of file MapDSqlOperatorTable.java.

1233  {
1234  super("ST_Perimeter",
1235  SqlKind.OTHER_FUNCTION,
1236  null,
1237  null,
1238  OperandTypes.family(SqlTypeFamily.ANY),
1239  SqlFunctionCategory.SYSTEM);
1240  }

Member Function Documentation

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

Definition at line 1243 of file MapDSqlOperatorTable.java.

References assert().

1243  {
1244  assert opBinding.getOperandCount() == 1;
1245  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1246  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1247  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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