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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxMedian ()
 

Detailed Description

Definition at line 1787 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1788 of file MapDSqlOperatorTable.java.

1788  {
1789  super("APPROX_MEDIAN",
1790  null,
1791  SqlKind.OTHER_FUNCTION,
1792  null,
1793  null,
1794  OperandTypes.family(SqlTypeFamily.NUMERIC),
1795  SqlFunctionCategory.SYSTEM,
1796  false,
1797  false,
1798  Optionality.FORBIDDEN);
1799  }

Member Function Documentation

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

Definition at line 1802 of file MapDSqlOperatorTable.java.

References DOUBLE.

1802  {
1803  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1804  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1805  }
#define DOUBLE

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