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

Constructor & Destructor Documentation

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

Definition at line 2890 of file HeavyDBSqlOperatorTable.java.

2890  {
2891  super("APPROX_MEDIAN",
2892  SqlKind.OTHER_FUNCTION,
2893  null,
2894  null,
2895  OperandTypes.family(SqlTypeFamily.NUMERIC),
2896  SqlFunctionCategory.SYSTEM);
2897  }

Member Function Documentation

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

Definition at line 2900 of file HeavyDBSqlOperatorTable.java.

2900  {
2901  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2902  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2903  }

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