OmniSciDB  29e35f4d58
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 1250 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Area()

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

Definition at line 1251 of file MapDSqlOperatorTable.java.

1251  {
1252  super("ST_Area",
1253  SqlKind.OTHER_FUNCTION,
1254  null,
1255  null,
1256  OperandTypes.family(SqlTypeFamily.ANY),
1257  SqlFunctionCategory.SYSTEM);
1258  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1261 of file MapDSqlOperatorTable.java.

1261  {
1262  assert opBinding.getOperandCount() == 1;
1263  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1264  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1265  }

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