OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1727 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1728 of file MapDSqlOperatorTable.java.

1728  {
1729  super("APPROX_MEDIAN",
1730  null,
1731  SqlKind.OTHER_FUNCTION,
1732  null,
1733  null,
1734  OperandTypes.family(SqlTypeFamily.NUMERIC),
1735  SqlFunctionCategory.SYSTEM,
1736  false,
1737  false,
1738  Optionality.FORBIDDEN);
1739  }

Member Function Documentation

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

Definition at line 1742 of file MapDSqlOperatorTable.java.

References DOUBLE.

1742  {
1743  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1744  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1745  }
#define DOUBLE

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