OmniSciDB  bf83d84833
 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 1610 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1611 of file MapDSqlOperatorTable.java.

1611  {
1612  super("ST_Perimeter",
1613  SqlKind.OTHER_FUNCTION,
1614  null,
1615  null,
1616  OperandTypes.family(SqlTypeFamily.ANY),
1617  SqlFunctionCategory.SYSTEM);
1618  }

Member Function Documentation

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

Definition at line 1621 of file MapDSqlOperatorTable.java.

1621  {
1622  assert opBinding.getOperandCount() == 1;
1623  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1624  return typeFactory.createTypeWithNullability(
1625  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1626  opBinding.getOperandType(0).isNullable());
1627  }

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