OmniSciDB  4201147b46
 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 2237 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2238 of file HeavyDBSqlOperatorTable.java.

2238  {
2239  super("APPROX_PERCENTILE",
2240  null,
2241  SqlKind.OTHER_FUNCTION,
2242  null,
2243  null,
2244  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
2245  SqlFunctionCategory.SYSTEM,
2246  false,
2247  false,
2248  Optionality.FORBIDDEN);
2249  }

Member Function Documentation

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

Definition at line 2252 of file HeavyDBSqlOperatorTable.java.

2252  {
2253  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2254  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2255  }

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