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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_YMax ()
 

Detailed Description

Definition at line 2375 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2376 of file HeavyDBSqlOperatorTable.java.

2376  {
2377  super("ST_YMax",
2378  SqlKind.OTHER_FUNCTION,
2379  null,
2380  null,
2381  OperandTypes.family(SqlTypeFamily.ANY),
2382  SqlFunctionCategory.SYSTEM);
2383  }

Member Function Documentation

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

Definition at line 2386 of file HeavyDBSqlOperatorTable.java.

2386  {
2387  assert opBinding.getOperandCount() == 1;
2388  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2389  return typeFactory.createTypeWithNullability(
2390  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2391  opBinding.getOperandType(0).isNullable());
2392  }

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