OmniSciDB  bf83d84833
 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 1430 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1431 of file MapDSqlOperatorTable.java.

1431  {
1432  super("ST_Y",
1433  SqlKind.OTHER_FUNCTION,
1434  null,
1435  null,
1436  OperandTypes.family(SqlTypeFamily.ANY),
1437  SqlFunctionCategory.SYSTEM);
1438  }

Member Function Documentation

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

Definition at line 1441 of file MapDSqlOperatorTable.java.

1441  {
1442  assert opBinding.getOperandCount() == 1;
1443  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1444  return typeFactory.createTypeWithNullability(
1445  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1446  opBinding.getOperandType(0).isNullable());
1447  }

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