public class Group extends Object implements Comparable<Group>
Constructor and Description |
---|
Group()
Construct an empty Group
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Group that)
Note: this class has a natural ordering that is inconsistent with equals.
|
int |
getCount() |
double |
getEstimate() |
double |
getFraction() |
String |
getHeader() |
double |
getLowerBound() |
String |
getPrimaryKey() |
double |
getRse() |
double |
getUpperBound() |
Group |
init(String priKey,
int count,
double estimate,
double ub,
double lb,
double fraction,
double rse)
Specifies the parameters to be listed as columns
|
String |
toString() |
public Group init(String priKey, int count, double estimate, double ub, double lb, double fraction, double rse)
priKey
- the primary key of the FDT sketchcount
- the number of retained rows associated with this groupestimate
- the estimate of the original population associated with this groupub
- the upper bound of the estimatelb
- the lower bound of the extimatefraction
- the fraction of all retained rows of the sketch associated with this grouprse
- the estimated Relative Standard Error for this group.public String getPrimaryKey()
public int getCount()
public double getEstimate()
public double getUpperBound()
public double getLowerBound()
public double getFraction()
public double getRse()
public String getHeader()
public int compareTo(Group that)
compareTo
in interface Comparable<Group>
that
- The Group to compare toCopyright © 2015–2021 The Apache Software Foundation. All rights reserved.