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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_XMax ()
 

Detailed Description

Definition at line 2335 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2336 of file HeavyDBSqlOperatorTable.java.

2336  {
2337  super("ST_XMax",
2338  SqlKind.OTHER_FUNCTION,
2339  null,
2340  null,
2341  OperandTypes.family(SqlTypeFamily.ANY),
2342  SqlFunctionCategory.SYSTEM);
2343  }

Member Function Documentation

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

Definition at line 2346 of file HeavyDBSqlOperatorTable.java.

2346  {
2347  assert opBinding.getOperandCount() == 1;
2348  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2349  return typeFactory.createTypeWithNullability(
2350  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2351  opBinding.getOperandType(0).isNullable());
2352  }

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