OmniSciDB  b28c0d5765
 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 2078 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2079 of file HeavyDBSqlOperatorTable.java.

2079  {
2080  super("ST_Perimeter",
2081  SqlKind.OTHER_FUNCTION,
2082  null,
2083  null,
2084  OperandTypes.family(SqlTypeFamily.ANY),
2085  SqlFunctionCategory.SYSTEM);
2086  }

Member Function Documentation

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

Definition at line 2089 of file HeavyDBSqlOperatorTable.java.

2089  {
2090  assert opBinding.getOperandCount() == 1;
2091  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2092  return typeFactory.createTypeWithNullability(
2093  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2094  opBinding.getOperandType(0).isNullable());
2095  }

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