OmniSciDB  a987f07e93
 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 2493 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2494 of file HeavyDBSqlOperatorTable.java.

2494  {
2495  super("APPROX_MEDIAN",
2496  SqlKind.OTHER_FUNCTION,
2497  null,
2498  null,
2499  OperandTypes.family(SqlTypeFamily.NUMERIC),
2500  SqlFunctionCategory.SYSTEM);
2501  }

Member Function Documentation

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

Definition at line 2504 of file HeavyDBSqlOperatorTable.java.

2504  {
2505  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2506  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2507  }

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