OmniSciDB  a987f07e93
 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 2471 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2472 of file HeavyDBSqlOperatorTable.java.

2472  {
2473  super("APPROX_COUNT_DISTINCT",
2474  null,
2475  SqlKind.OTHER_FUNCTION,
2476  null,
2477  null,
2478  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2479  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2480  SqlFunctionCategory.SYSTEM,
2481  false,
2482  false,
2483  Optionality.FORBIDDEN);
2484  }

Member Function Documentation

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

Definition at line 2487 of file HeavyDBSqlOperatorTable.java.

2487  {
2488  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2489  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2490  }

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