OmniSciDB  a987f07e93
 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 2099 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2100 of file HeavyDBSqlOperatorTable.java.

2100  {
2101  super("ST_Area",
2102  SqlKind.OTHER_FUNCTION,
2103  null,
2104  null,
2105  OperandTypes.family(SqlTypeFamily.ANY),
2106  SqlFunctionCategory.SYSTEM);
2107  }

Member Function Documentation

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

Definition at line 2110 of file HeavyDBSqlOperatorTable.java.

2110  {
2111  assert opBinding.getOperandCount() == 1;
2112  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2113  return typeFactory.createTypeWithNullability(
2114  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2115  opBinding.getOperandType(0).isNullable());
2116  }

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