OmniSciDB  1dac507f6e
 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 1203 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1204 of file MapDSqlOperatorTable.java.

1204  {
1205  super("ST_Perimeter",
1206  SqlKind.OTHER_FUNCTION,
1207  null,
1208  null,
1209  OperandTypes.family(SqlTypeFamily.ANY),
1210  SqlFunctionCategory.SYSTEM);
1211  }

Member Function Documentation

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

Definition at line 1214 of file MapDSqlOperatorTable.java.

References assert().

1214  {
1215  assert opBinding.getOperandCount() == 1;
1216  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1217  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1218  }
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: