OmniSciDB  2e3a973ef4
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 1249 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_XMax()

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

Definition at line 1250 of file MapDSqlOperatorTable.java.

1250  {
1251  super("ST_XMax",
1252  SqlKind.OTHER_FUNCTION,
1253  null,
1254  null,
1255  OperandTypes.family(SqlTypeFamily.ANY),
1256  SqlFunctionCategory.SYSTEM);
1257  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1260 of file MapDSqlOperatorTable.java.

1260  {
1261  assert opBinding.getOperandCount() == 1;
1262  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1263  return typeFactory.createTypeWithNullability(
1264  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1265  opBinding.getOperandType(0).isNullable());
1266  }

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