OmniSciDB  c1a53651b2
 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 2484 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2485 of file HeavyDBSqlOperatorTable.java.

2485  {
2486  super("APPROX_COUNT_DISTINCT",
2487  null,
2488  SqlKind.OTHER_FUNCTION,
2489  null,
2490  null,
2491  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2492  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2493  SqlFunctionCategory.SYSTEM,
2494  false,
2495  false,
2496  Optionality.FORBIDDEN);
2497  }

Member Function Documentation

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

Definition at line 2500 of file HeavyDBSqlOperatorTable.java.

2500  {
2501  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2502  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2503  }

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