OmniSciDB  04ee39c94c
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 1189 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Area()

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

Definition at line 1190 of file MapDSqlOperatorTable.java.

1190  {
1191  super("ST_Area",
1192  SqlKind.OTHER_FUNCTION,
1193  null,
1194  null,
1195  OperandTypes.family(SqlTypeFamily.ANY),
1196  SqlFunctionCategory.SYSTEM);
1197  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1200 of file MapDSqlOperatorTable.java.

1200  {
1201  assert opBinding.getOperandCount() == 1;
1202  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1203  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1204  }

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