public class ZtestPostAggregator extends Object implements PostAggregator
Please refer to http://math.mercyhurst.edu/~griff/courses/m109/Lectures/old/Sum_06/sect8.1.pdf and http://facweb.cs.depaul.edu/sjost/csc423/documents/test-descriptions/indep-z.pdf for more details.
Constructor and Description |
---|
ZtestPostAggregator(String name,
PostAggregator successCount1,
PostAggregator sample1Size,
PostAggregator successCount2,
PostAggregator sample2Size) |
Modifier and Type | Method and Description |
---|---|
Object |
compute(Map<String,Object> combinedAggregators) |
ZtestPostAggregator |
decorate(Map<String,AggregatorFactory> aggregators)
Returns a richer post aggregator which are built from the given aggregators with their names and some accessible
environmental variables such as ones in the object scope.
|
boolean |
equals(Object o) |
byte[] |
getCacheKey()
Get a byte array used as a cache key.
|
Comparator |
getComparator() |
Set<String> |
getDependentFields() |
String |
getName() |
PostAggregator |
getSample1Size() |
PostAggregator |
getSample2Size() |
PostAggregator |
getSuccessCount1() |
PostAggregator |
getSuccessCount2() |
int |
hashCode() |
String |
toString() |
public ZtestPostAggregator(String name, PostAggregator successCount1, PostAggregator sample1Size, PostAggregator successCount2, PostAggregator sample2Size)
public Set<String> getDependentFields()
getDependentFields
in interface PostAggregator
public Comparator getComparator()
getComparator
in interface PostAggregator
public Object compute(Map<String,Object> combinedAggregators)
compute
in interface PostAggregator
public String getName()
getName
in interface PostAggregator
public ZtestPostAggregator decorate(Map<String,AggregatorFactory> aggregators)
PostAggregator
decorate
in interface PostAggregator
aggregators
- A map of aggregator factories with their names.public PostAggregator getSuccessCount1()
public PostAggregator getSample1Size()
public PostAggregator getSuccessCount2()
public PostAggregator getSample2Size()
public byte[] getCacheKey()
Cacheable
getCacheKey
in interface Cacheable
Copyright © 2011–2018. All rights reserved.