OmniSciDB  1dac507f6e
 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 1221 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1222 of file MapDSqlOperatorTable.java.

1222  {
1223  super("ST_Area",
1224  SqlKind.OTHER_FUNCTION,
1225  null,
1226  null,
1227  OperandTypes.family(SqlTypeFamily.ANY),
1228  SqlFunctionCategory.SYSTEM);
1229  }

Member Function Documentation

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

Definition at line 1232 of file MapDSqlOperatorTable.java.

References assert().

1232  {
1233  assert opBinding.getOperandCount() == 1;
1234  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1235  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1236  }
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: