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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxCountDistinct ()
 

Detailed Description

Definition at line 2197 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2198 of file HeavyDBSqlOperatorTable.java.

2198  {
2199  super("APPROX_COUNT_DISTINCT",
2200  null,
2201  SqlKind.OTHER_FUNCTION,
2202  null,
2203  null,
2204  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2205  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2206  SqlFunctionCategory.SYSTEM,
2207  false,
2208  false,
2209  Optionality.FORBIDDEN);
2210  }

Member Function Documentation

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

Definition at line 2213 of file HeavyDBSqlOperatorTable.java.

2213  {
2214  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2215  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2216  }

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