@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| 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, hasBigBin, toStringpublic 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)
CombinercreateArrayBinList in class Combinersize - index range of required bin listpublic BinList createHashBinList(long size)
CombinercreateHashBinList in class Combinersize - index range of required bin listpublic Combiner.Container createContainer()
CombinerNote: 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 Combinerpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.