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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Perimeter ()
 

Detailed Description

Definition at line 2475 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2476 of file HeavyDBSqlOperatorTable.java.

2476  {
2477  super("ST_Perimeter",
2478  SqlKind.OTHER_FUNCTION,
2479  null,
2480  null,
2481  OperandTypes.family(SqlTypeFamily.ANY),
2482  SqlFunctionCategory.SYSTEM);
2483  }

Member Function Documentation

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

Definition at line 2486 of file HeavyDBSqlOperatorTable.java.

2486  {
2487  assert opBinding.getOperandCount() == 1;
2488  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2489  return typeFactory.createTypeWithNullability(
2490  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2491  opBinding.getOperandType(0).isNullable());
2492  }

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