OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1281 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1282 of file MapDSqlOperatorTable.java.

1282  {
1283  super("ST_Y",
1284  SqlKind.OTHER_FUNCTION,
1285  null,
1286  null,
1287  OperandTypes.family(SqlTypeFamily.ANY),
1288  SqlFunctionCategory.SYSTEM);
1289  }

Member Function Documentation

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

Definition at line 1292 of file MapDSqlOperatorTable.java.

References DOUBLE.

1292  {
1293  assert opBinding.getOperandCount() == 1;
1294  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1295  return typeFactory.createTypeWithNullability(
1296  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1297  opBinding.getOperandType(0).isNullable());
1298  }
#define DOUBLE

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