OmniSciDB  c1a53651b2
 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 1892 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1893 of file HeavyDBSqlOperatorTable.java.

1893  {
1894  super("ST_X",
1895  SqlKind.OTHER_FUNCTION,
1896  null,
1897  null,
1898  OperandTypes.family(SqlTypeFamily.ANY),
1899  SqlFunctionCategory.SYSTEM);
1900  }

Member Function Documentation

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

Definition at line 1903 of file HeavyDBSqlOperatorTable.java.

1903  {
1904  assert opBinding.getOperandCount() == 1;
1905  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1906  return typeFactory.createTypeWithNullability(
1907  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1908  opBinding.getOperandType(0).isNullable());
1909  }

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