OmniSciDB  a5dc49c757
 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 2275 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2276 of file HeavyDBSqlOperatorTable.java.

2276  {
2277  super("ST_X",
2278  SqlKind.OTHER_FUNCTION,
2279  null,
2280  null,
2281  OperandTypes.family(SqlTypeFamily.ANY),
2282  SqlFunctionCategory.SYSTEM);
2283  }

Member Function Documentation

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

Definition at line 2286 of file HeavyDBSqlOperatorTable.java.

2286  {
2287  assert opBinding.getOperandCount() == 1;
2288  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2289  return typeFactory.createTypeWithNullability(
2290  typeFactory.createSqlType(SqlTypeName.DOUBLE),
2291  opBinding.getOperandType(0).isNullable());
2292  }

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