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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_X ()
 

Detailed Description

Definition at line 1201 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1202 of file MapDSqlOperatorTable.java.

1202  {
1203  super("ST_X",
1204  SqlKind.OTHER_FUNCTION,
1205  null,
1206  null,
1207  OperandTypes.family(SqlTypeFamily.ANY),
1208  SqlFunctionCategory.SYSTEM);
1209  }

Member Function Documentation

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

Definition at line 1212 of file MapDSqlOperatorTable.java.

References DOUBLE.

1212  {
1213  assert opBinding.getOperandCount() == 1;
1214  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1215  return typeFactory.createTypeWithNullability(
1216  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1217  opBinding.getOperandType(0).isNullable());
1218  }
#define DOUBLE

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