OmniSciDB  85c2d10cdc
 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 1301 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1302 of file MapDSqlOperatorTable.java.

1302  {
1303  super("ST_YMax",
1304  SqlKind.OTHER_FUNCTION,
1305  null,
1306  null,
1307  OperandTypes.family(SqlTypeFamily.ANY),
1308  SqlFunctionCategory.SYSTEM);
1309  }

Member Function Documentation

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

Definition at line 1312 of file MapDSqlOperatorTable.java.

References DOUBLE.

1312  {
1313  assert opBinding.getOperandCount() == 1;
1314  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1315  return typeFactory.createTypeWithNullability(
1316  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1317  opBinding.getOperandType(0).isNullable());
1318  }
#define DOUBLE

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