OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxCountDistinct Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxCountDistinct:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxCountDistinct:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxCountDistinct ()
 

Detailed Description

Definition at line 1693 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1694 of file MapDSqlOperatorTable.java.

1694  {
1695  super("APPROX_COUNT_DISTINCT",
1696  null,
1697  SqlKind.OTHER_FUNCTION,
1698  null,
1699  null,
1700  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1701  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1702  SqlFunctionCategory.SYSTEM);
1703  }

Member Function Documentation

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

Definition at line 1706 of file MapDSqlOperatorTable.java.

1706  {
1707  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1708  return typeFactory.createSqlType(SqlTypeName.BIGINT);
1709  }

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