OmniSciDB  06b3bd477c
 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 1408 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1409 of file MapDSqlOperatorTable.java.

1409  {
1410  super("ST_Area",
1411  SqlKind.OTHER_FUNCTION,
1412  null,
1413  null,
1414  OperandTypes.family(SqlTypeFamily.ANY),
1415  SqlFunctionCategory.SYSTEM);
1416  }

Member Function Documentation

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

Definition at line 1419 of file MapDSqlOperatorTable.java.

References assert().

1419  {
1420  assert opBinding.getOperandCount() == 1;
1421  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1422  return typeFactory.createTypeWithNullability(
1423  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1424  opBinding.getOperandType(0).isNullable());
1425  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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