OmniSciDB  04ee39c94c
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 1045 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_XMax()

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

Definition at line 1046 of file MapDSqlOperatorTable.java.

1046  {
1047  super("ST_XMax",
1048  SqlKind.OTHER_FUNCTION,
1049  null,
1050  null,
1051  OperandTypes.family(SqlTypeFamily.ANY),
1052  SqlFunctionCategory.SYSTEM);
1053  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1056 of file MapDSqlOperatorTable.java.

1056  {
1057  assert opBinding.getOperandCount() == 1;
1058  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1059  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1060  }

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