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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxMedian ()
 

Detailed Description

Definition at line 2219 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2220 of file HeavyDBSqlOperatorTable.java.

2220  {
2221  super("APPROX_MEDIAN",
2222  null,
2223  SqlKind.OTHER_FUNCTION,
2224  null,
2225  null,
2226  OperandTypes.family(SqlTypeFamily.NUMERIC),
2227  SqlFunctionCategory.SYSTEM,
2228  false,
2229  false,
2230  Optionality.FORBIDDEN);
2231  }

Member Function Documentation

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

Definition at line 2234 of file HeavyDBSqlOperatorTable.java.

2234  {
2235  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2236  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2237  }

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