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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Area ()
 

Detailed Description

Definition at line 1481 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1482 of file MapDSqlOperatorTable.java.

1482  {
1483  super("ST_Area",
1484  SqlKind.OTHER_FUNCTION,
1485  null,
1486  null,
1487  OperandTypes.family(SqlTypeFamily.ANY),
1488  SqlFunctionCategory.SYSTEM);
1489  }

Member Function Documentation

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

Definition at line 1492 of file MapDSqlOperatorTable.java.

References DOUBLE.

1492  {
1493  assert opBinding.getOperandCount() == 1;
1494  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1495  return typeFactory.createTypeWithNullability(
1496  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1497  opBinding.getOperandType(0).isNullable());
1498  }
#define DOUBLE

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