OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 1510 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1511 of file MapDSqlOperatorTable.java.

1511  {
1512  super("ST_YMax",
1513  SqlKind.OTHER_FUNCTION,
1514  null,
1515  null,
1516  OperandTypes.family(SqlTypeFamily.ANY),
1517  SqlFunctionCategory.SYSTEM);
1518  }

Member Function Documentation

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

Definition at line 1521 of file MapDSqlOperatorTable.java.

1521  {
1522  assert opBinding.getOperandCount() == 1;
1523  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1524  return typeFactory.createTypeWithNullability(
1525  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1526  opBinding.getOperandType(0).isNullable());
1527  }

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