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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_X ()
 

Detailed Description

Definition at line 1673 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1674 of file HeavyDBSqlOperatorTable.java.

1674  {
1675  super("ST_X",
1676  SqlKind.OTHER_FUNCTION,
1677  null,
1678  null,
1679  OperandTypes.family(SqlTypeFamily.ANY),
1680  SqlFunctionCategory.SYSTEM);
1681  }

Member Function Documentation

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

Definition at line 1684 of file HeavyDBSqlOperatorTable.java.

1684  {
1685  assert opBinding.getOperandCount() == 1;
1686  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1687  return typeFactory.createTypeWithNullability(
1688  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1689  opBinding.getOperandType(0).isNullable());
1690  }

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