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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Y ()
 

Detailed Description

Definition at line 2295 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2296 of file HeavyDBSqlOperatorTable.java.

2296  {
2297  super("ST_Y",
2298  SqlKind.OTHER_FUNCTION,
2299  null,
2300  null,
2301  OperandTypes.family(SqlTypeFamily.ANY),
2302  SqlFunctionCategory.SYSTEM);
2303  }

Member Function Documentation

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

Definition at line 2306 of file HeavyDBSqlOperatorTable.java.

2306  {
2307  assert opBinding.getOperandCount() == 1;
2308  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2309  return typeFactory.createTypeWithNullability(
2310  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2311  opBinding.getOperandType(0).isNullable());
2312  }

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