@Equality public abstract class QuantileCombiner extends Combiner
Modifier and Type | Class | Description |
---|---|---|
static interface |
QuantileCombiner.Quantiler |
Defines the calculation of the combined result from submitted
data values.
|
Combiner.Container, Combiner.Type
Constructor | Description |
---|---|
QuantileCombiner(java.lang.String name,
java.lang.String description,
QuantileCombiner.Quantiler quantiler) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
BinList |
createArrayBinList(int size) |
May be able to create a bin list suitable for non-sparse,
moderate-sized index ranges.
|
Combiner.Container |
createContainer() |
Creates an object which can be used to accumulate values.
|
BinList |
createHashBinList(long size) |
Creates a generaly purpose bin list, which may be especially
suitable for sparse index ranges.
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
createCombinedInfo, getDescription, getKnownCombiners, getName, getType, hasBigBin, toString
public QuantileCombiner(java.lang.String name, java.lang.String description, QuantileCombiner.Quantiler quantiler)
name
- combiner namedescription
- combiner descriptionquantiler
- object to combine the actual submitted data valuespublic BinList createArrayBinList(int size)
Combiner
createArrayBinList
in class Combiner
size
- index range of required bin listpublic BinList createHashBinList(long size)
Combiner
createHashBinList
in class Combiner
size
- index range of required bin listpublic Combiner.Container createContainer()
Combiner
Note: Since many container instances may by generated (when using a HashBinList) it is desirable to keep the returned objects as small as possible. In particular, it's a good idea to make the returned objects instances of a static class, to avoid an unncecessary reference to the owner object, unless there's a really compelling reason to do otherwise.
createContainer
in class Combiner
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.