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

Constructor & Destructor Documentation

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

Definition at line 1879 of file HeavyDBSqlOperatorTable.java.

1879  {
1880  super("ST_X",
1881  SqlKind.OTHER_FUNCTION,
1882  null,
1883  null,
1884  OperandTypes.family(SqlTypeFamily.ANY),
1885  SqlFunctionCategory.SYSTEM);
1886  }

Member Function Documentation

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

Definition at line 1889 of file HeavyDBSqlOperatorTable.java.

1889  {
1890  assert opBinding.getOperandCount() == 1;
1891  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1892  return typeFactory.createTypeWithNullability(
1893  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1894  opBinding.getOperandType(0).isNullable());
1895  }

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