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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxPercentile ()
 

Detailed Description

Definition at line 1808 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1809 of file MapDSqlOperatorTable.java.

1809  {
1810  super("APPROX_PERCENTILE",
1811  null,
1812  SqlKind.OTHER_FUNCTION,
1813  null,
1814  null,
1815  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1816  SqlFunctionCategory.SYSTEM,
1817  false,
1818  false,
1819  Optionality.FORBIDDEN);
1820  }

Member Function Documentation

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

Definition at line 1823 of file MapDSqlOperatorTable.java.

References DOUBLE.

1823  {
1824  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1825  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1826  }
#define DOUBLE

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