OmniSciDB  4201147b46
 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 1733 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1734 of file HeavyDBSqlOperatorTable.java.

1734  {
1735  super("ST_XMax",
1736  SqlKind.OTHER_FUNCTION,
1737  null,
1738  null,
1739  OperandTypes.family(SqlTypeFamily.ANY),
1740  SqlFunctionCategory.SYSTEM);
1741  }

Member Function Documentation

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

Definition at line 1744 of file HeavyDBSqlOperatorTable.java.

1744  {
1745  assert opBinding.getOperandCount() == 1;
1746  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1747  return typeFactory.createTypeWithNullability(
1748  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1749  opBinding.getOperandType(0).isNullable());
1750  }

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