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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Area ()
 

Detailed Description

Definition at line 2495 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2496 of file HeavyDBSqlOperatorTable.java.

2496  {
2497  super("ST_Area",
2498  SqlKind.OTHER_FUNCTION,
2499  null,
2500  null,
2501  OperandTypes.family(SqlTypeFamily.ANY),
2502  SqlFunctionCategory.SYSTEM);
2503  }

Member Function Documentation

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

Definition at line 2506 of file HeavyDBSqlOperatorTable.java.

2506  {
2507  assert opBinding.getOperandCount() == 1;
2508  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2509  return typeFactory.createTypeWithNullability(
2510  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2511  opBinding.getOperandType(0).isNullable());
2512  }

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