OmniSciDB  a987f07e93
 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 1939 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1940 of file HeavyDBSqlOperatorTable.java.

1940  {
1941  super("ST_XMax",
1942  SqlKind.OTHER_FUNCTION,
1943  null,
1944  null,
1945  OperandTypes.family(SqlTypeFamily.ANY),
1946  SqlFunctionCategory.SYSTEM);
1947  }

Member Function Documentation

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

Definition at line 1950 of file HeavyDBSqlOperatorTable.java.

1950  {
1951  assert opBinding.getOperandCount() == 1;
1952  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1953  return typeFactory.createTypeWithNullability(
1954  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1955  opBinding.getOperandType(0).isNullable());
1956  }

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