OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMax Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMax:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMax:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_XMax ()
 

Detailed Description

Definition at line 1321 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1322 of file MapDSqlOperatorTable.java.

1322  {
1323  super("ST_XMax",
1324  SqlKind.OTHER_FUNCTION,
1325  null,
1326  null,
1327  OperandTypes.family(SqlTypeFamily.ANY),
1328  SqlFunctionCategory.SYSTEM);
1329  }

Member Function Documentation

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

Definition at line 1332 of file MapDSqlOperatorTable.java.

References DOUBLE.

1332  {
1333  assert opBinding.getOperandCount() == 1;
1334  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1335  return typeFactory.createTypeWithNullability(
1336  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1337  opBinding.getOperandType(0).isNullable());
1338  }
#define DOUBLE

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