OmniSciDB  3a86f6ec37
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 1470 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_XMax()

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

Definition at line 1471 of file MapDSqlOperatorTable.java.

1471  {
1472  super("ST_XMax",
1473  SqlKind.OTHER_FUNCTION,
1474  null,
1475  null,
1476  OperandTypes.family(SqlTypeFamily.ANY),
1477  SqlFunctionCategory.SYSTEM);
1478  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1481 of file MapDSqlOperatorTable.java.

1481  {
1482  assert opBinding.getOperandCount() == 1;
1483  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1484  return typeFactory.createTypeWithNullability(
1485  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1486  opBinding.getOperandType(0).isNullable());
1487  }

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