OmniSciDB  dfae7c3b14
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_YMax Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_YMax:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_YMax:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_YMax ()
 

Detailed Description

Definition at line 1392 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_YMax()

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

Definition at line 1393 of file MapDSqlOperatorTable.java.

1393  {
1394  super("ST_YMax",
1395  SqlKind.OTHER_FUNCTION,
1396  null,
1397  null,
1398  OperandTypes.family(SqlTypeFamily.ANY),
1399  SqlFunctionCategory.SYSTEM);
1400  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1403 of file MapDSqlOperatorTable.java.

1403  {
1404  assert opBinding.getOperandCount() == 1;
1405  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1406  return typeFactory.createTypeWithNullability(
1407  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1408  opBinding.getOperandType(0).isNullable());
1409  }

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