OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMin Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMin:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMin:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_XMin ()
 

Detailed Description

Definition at line 1450 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1451 of file MapDSqlOperatorTable.java.

1451  {
1452  super("ST_XMin",
1453  SqlKind.OTHER_FUNCTION,
1454  null,
1455  null,
1456  OperandTypes.family(SqlTypeFamily.ANY),
1457  SqlFunctionCategory.SYSTEM);
1458  }

Member Function Documentation

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

Definition at line 1461 of file MapDSqlOperatorTable.java.

1461  {
1462  assert opBinding.getOperandCount() == 1;
1463  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1464  return typeFactory.createTypeWithNullability(
1465  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1466  opBinding.getOperandType(0).isNullable());
1467  }

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