OmniSciDB  bf83d84833
 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 1630 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1631 of file MapDSqlOperatorTable.java.

1631  {
1632  super("ST_Area",
1633  SqlKind.OTHER_FUNCTION,
1634  null,
1635  null,
1636  OperandTypes.family(SqlTypeFamily.ANY),
1637  SqlFunctionCategory.SYSTEM);
1638  }

Member Function Documentation

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

Definition at line 1641 of file MapDSqlOperatorTable.java.

1641  {
1642  assert opBinding.getOperandCount() == 1;
1643  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1644  return typeFactory.createTypeWithNullability(
1645  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1646  opBinding.getOperandType(0).isNullable());
1647  }

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