OmniSciDB  a5dc49c757
 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 2867 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2868 of file HeavyDBSqlOperatorTable.java.

2868  {
2869  super("APPROX_COUNT_DISTINCT",
2870  null,
2871  SqlKind.OTHER_FUNCTION,
2872  null,
2873  null,
2874  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2875  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2876  SqlFunctionCategory.SYSTEM,
2877  false,
2878  false,
2879  Optionality.FORBIDDEN);
2880  }

Member Function Documentation

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

Definition at line 2883 of file HeavyDBSqlOperatorTable.java.

2883  {
2884  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2885  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2886  }

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