OmniSciDB  95562058bd
 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 1409 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1410 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

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

Definition at line 1420 of file MapDSqlOperatorTable.java.

References assert().

1420  {
1421  assert opBinding.getOperandCount() == 1;
1422  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1423  return typeFactory.createTypeWithNullability(
1424  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1425  opBinding.getOperandType(0).isNullable());
1426  }
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: