OmniSciDB  4201147b46
 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 1873 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1874 of file HeavyDBSqlOperatorTable.java.

1874  {
1875  super("ST_Perimeter",
1876  SqlKind.OTHER_FUNCTION,
1877  null,
1878  null,
1879  OperandTypes.family(SqlTypeFamily.ANY),
1880  SqlFunctionCategory.SYSTEM);
1881  }

Member Function Documentation

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

Definition at line 1884 of file HeavyDBSqlOperatorTable.java.

1884  {
1885  assert opBinding.getOperandCount() == 1;
1886  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1887  return typeFactory.createTypeWithNullability(
1888  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1889  opBinding.getOperandType(0).isNullable());
1890  }

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