OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1361 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1362 of file MapDSqlOperatorTable.java.

1362  {
1363  super("ST_YMax",
1364  SqlKind.OTHER_FUNCTION,
1365  null,
1366  null,
1367  OperandTypes.family(SqlTypeFamily.ANY),
1368  SqlFunctionCategory.SYSTEM);
1369  }

Member Function Documentation

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

Definition at line 1372 of file MapDSqlOperatorTable.java.

References DOUBLE.

1372  {
1373  assert opBinding.getOperandCount() == 1;
1374  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1375  return typeFactory.createTypeWithNullability(
1376  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1377  opBinding.getOperandType(0).isNullable());
1378  }
#define DOUBLE

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