OmniSciDB  0b528656ed
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 1223 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_XMax()

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

Definition at line 1224 of file MapDSqlOperatorTable.java.

1224  {
1225  super("ST_XMax",
1226  SqlKind.OTHER_FUNCTION,
1227  null,
1228  null,
1229  OperandTypes.family(SqlTypeFamily.ANY),
1230  SqlFunctionCategory.SYSTEM);
1231  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1234 of file MapDSqlOperatorTable.java.

1234  {
1235  assert opBinding.getOperandCount() == 1;
1236  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1237  return typeFactory.createTypeWithNullability(
1238  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1239  opBinding.getOperandType(0).isNullable());
1240  }

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