OmniSciDB  4201147b46
 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 1693 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1694 of file HeavyDBSqlOperatorTable.java.

1694  {
1695  super("ST_Y",
1696  SqlKind.OTHER_FUNCTION,
1697  null,
1698  null,
1699  OperandTypes.family(SqlTypeFamily.ANY),
1700  SqlFunctionCategory.SYSTEM);
1701  }

Member Function Documentation

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

Definition at line 1704 of file HeavyDBSqlOperatorTable.java.

1704  {
1705  assert opBinding.getOperandCount() == 1;
1706  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1707  return typeFactory.createTypeWithNullability(
1708  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1709  opBinding.getOperandType(0).isNullable());
1710  }

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