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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Y ()
 

Detailed Description

Definition at line 1221 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1222 of file MapDSqlOperatorTable.java.

1222  {
1223  super("ST_Y",
1224  SqlKind.OTHER_FUNCTION,
1225  null,
1226  null,
1227  OperandTypes.family(SqlTypeFamily.ANY),
1228  SqlFunctionCategory.SYSTEM);
1229  }

Member Function Documentation

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

Definition at line 1232 of file MapDSqlOperatorTable.java.

References DOUBLE.

1232  {
1233  assert opBinding.getOperandCount() == 1;
1234  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1235  return typeFactory.createTypeWithNullability(
1236  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1237  opBinding.getOperandType(0).isNullable());
1238  }
#define DOUBLE

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