OmniSciDB  dfae7c3b14
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 1332 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_XMin()

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

Definition at line 1333 of file MapDSqlOperatorTable.java.

1333  {
1334  super("ST_XMin",
1335  SqlKind.OTHER_FUNCTION,
1336  null,
1337  null,
1338  OperandTypes.family(SqlTypeFamily.ANY),
1339  SqlFunctionCategory.SYSTEM);
1340  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1343 of file MapDSqlOperatorTable.java.

1343  {
1344  assert opBinding.getOperandCount() == 1;
1345  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1346  return typeFactory.createTypeWithNullability(
1347  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1348  opBinding.getOperandType(0).isNullable());
1349  }

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