OmniSciDB  b28c0d5765
 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 1898 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1899 of file HeavyDBSqlOperatorTable.java.

1899  {
1900  super("ST_Y",
1901  SqlKind.OTHER_FUNCTION,
1902  null,
1903  null,
1904  OperandTypes.family(SqlTypeFamily.ANY),
1905  SqlFunctionCategory.SYSTEM);
1906  }

Member Function Documentation

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

Definition at line 1909 of file HeavyDBSqlOperatorTable.java.

1909  {
1910  assert opBinding.getOperandCount() == 1;
1911  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1912  return typeFactory.createTypeWithNullability(
1913  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1914  opBinding.getOperandType(0).isNullable());
1915  }

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