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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxPercentile ()
 

Detailed Description

Definition at line 2906 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2907 of file HeavyDBSqlOperatorTable.java.

2907  {
2908  super("APPROX_PERCENTILE",
2909  SqlKind.OTHER_FUNCTION,
2910  null,
2911  null,
2912  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
2913  SqlFunctionCategory.SYSTEM);
2914  }

Member Function Documentation

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

Definition at line 2917 of file HeavyDBSqlOperatorTable.java.

2917  {
2918  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2919  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2920  }

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