OmniSciDB  c07336695a
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 1171 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Perimeter()

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

Definition at line 1172 of file MapDSqlOperatorTable.java.

1172  {
1173  super("ST_Perimeter",
1174  SqlKind.OTHER_FUNCTION,
1175  null,
1176  null,
1177  OperandTypes.family(SqlTypeFamily.ANY),
1178  SqlFunctionCategory.SYSTEM);
1179  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1182 of file MapDSqlOperatorTable.java.

1182  {
1183  assert opBinding.getOperandCount() == 1;
1184  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1185  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1186  }

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