@Equality public abstract class QuantileCombiner extends Combiner
Modifier and Type | Class and Description |
---|---|
static interface |
QuantileCombiner.Quantiler
Defines the calculation of the combined result from submitted
data values.
|
Combiner.Container, Combiner.Type
Constructor and Description |
---|
QuantileCombiner(String name,
String description,
QuantileCombiner.Quantiler quantiler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ArrayBinList |
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.
|
boolean |
equals(Object o) |
int |
hashCode() |
createCombinedInfo, createQuantileCombiner, getDescription, getKnownCombiners, getName, getType, hasBigBin, toString
public QuantileCombiner(String name, String description, QuantileCombiner.Quantiler quantiler)
name
- combiner namedescription
- combiner descriptionquantiler
- object to combine the actual submitted data valuespublic ArrayBinList createArrayBinList(int size)
Combiner
createArrayBinList
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
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.