OmniSciDB  06b3bd477c
 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 1388 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1389 of file MapDSqlOperatorTable.java.

1389  {
1390  super("ST_Perimeter",
1391  SqlKind.OTHER_FUNCTION,
1392  null,
1393  null,
1394  OperandTypes.family(SqlTypeFamily.ANY),
1395  SqlFunctionCategory.SYSTEM);
1396  }

Member Function Documentation

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

Definition at line 1399 of file MapDSqlOperatorTable.java.

References assert().

1399  {
1400  assert opBinding.getOperandCount() == 1;
1401  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1402  return typeFactory.createTypeWithNullability(
1403  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1404  opBinding.getOperandType(0).isNullable());
1405  }
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: