OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Area Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Area:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Area:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Area ()
 

Detailed Description

Definition at line 1896 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1897 of file HeavyDBSqlOperatorTable.java.

1897  {
1898  super("ST_Area",
1899  SqlKind.OTHER_FUNCTION,
1900  null,
1901  null,
1902  OperandTypes.family(SqlTypeFamily.ANY),
1903  SqlFunctionCategory.SYSTEM);
1904  }

Member Function Documentation

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

Definition at line 1907 of file HeavyDBSqlOperatorTable.java.

1907  {
1908  assert opBinding.getOperandCount() == 1;
1909  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1910  return typeFactory.createTypeWithNullability(
1911  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1912  opBinding.getOperandType(0).isNullable());
1913  }

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