OmniSciDB  72c90bc290
 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 2726 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2727 of file HeavyDBSqlOperatorTable.java.

2727  {
2728  super("APPROX_COUNT_DISTINCT",
2729  null,
2730  SqlKind.OTHER_FUNCTION,
2731  null,
2732  null,
2733  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2734  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2735  SqlFunctionCategory.SYSTEM,
2736  false,
2737  false,
2738  Optionality.FORBIDDEN);
2739  }

Member Function Documentation

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

Definition at line 2742 of file HeavyDBSqlOperatorTable.java.

2742  {
2743  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2744  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2745  }

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