OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1421 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1422 of file MapDSqlOperatorTable.java.

1422  {
1423  super("ST_Area",
1424  SqlKind.OTHER_FUNCTION,
1425  null,
1426  null,
1427  OperandTypes.family(SqlTypeFamily.ANY),
1428  SqlFunctionCategory.SYSTEM);
1429  }

Member Function Documentation

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

Definition at line 1432 of file MapDSqlOperatorTable.java.

References DOUBLE.

1432  {
1433  assert opBinding.getOperandCount() == 1;
1434  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1435  return typeFactory.createTypeWithNullability(
1436  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1437  opBinding.getOperandType(0).isNullable());
1438  }
#define DOUBLE

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