public static class MaxCollector.FloatMaxCollector extends MaxCollector<MaxCollector.FloatMaxCollector.MaxData>
| Modifier and Type | Class and Description |
|---|---|
static class |
MaxCollector.FloatMaxCollector.MaxData |
MaxCollector.DoubleMaxCollector, MaxCollector.FloatMaxCollector, MaxCollector.IntMaxCollector, MaxCollector.LongMaxCollector, MaxCollector.StringMaxCollectornamecollectionTargets, ioData, lastingTargets| Constructor and Description |
|---|
FloatMaxCollector(FloatValueStream param) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(MaxCollector.FloatMaxCollector.MaxData data)
Apply the collected info to the given reduction data.
|
void |
collect()
Collect the information from current Solr Document.
|
float |
max()
Returns the max value of the set data.
|
MaxCollector.FloatMaxCollector.MaxData |
newData()
A clean slate to start a new reduction.
|
void |
setData(ReductionData data)
Finalize the reduction with the collected data stored in the parameter.
|
void |
setMergedData(ReductionData data)
Finalize the reduction with the merged data stored in the parameter.
|
void |
submitReservations(Consumer<ReductionDataReservation<?,?>> consumer)
Submits the data reservations needed for this data collector.
|
exists, getExpressionStr, getNameaddCollectTarget, addLastingCollectTarget, clearLastingCollectTargets, collectAndApply, dataIO, newDataIO, newDataTargetpublic FloatMaxCollector(FloatValueStream param)
public MaxCollector.FloatMaxCollector.MaxData newData()
ReductionDataCollectornewData in class ReductionDataCollector<MaxCollector.FloatMaxCollector.MaxData>public float max()
public void collect()
ReductionDataCollectorcollect in class ReductionDataCollector<MaxCollector.FloatMaxCollector.MaxData>protected void apply(MaxCollector.FloatMaxCollector.MaxData data)
ReductionDataCollectorReductionDataCollector.collect() call.apply in class ReductionDataCollector<MaxCollector.FloatMaxCollector.MaxData>data - reduction data to apply collected info topublic void submitReservations(Consumer<ReductionDataReservation<?,?>> consumer)
ReductionDataCollectorsubmitReservations in class ReductionDataCollector<MaxCollector.FloatMaxCollector.MaxData>consumer - the consumer which the reservations are submitted topublic void setMergedData(ReductionData data)
ReductionDataCollectorReductionFunctions that use this
data collector act like regular AnalyticsValue classes that
can be accessed through their get<value-type> methods.
(FOR CLOUD)setMergedData in class MaxCollector<MaxCollector.FloatMaxCollector.MaxData>data - the merged data to compute a reduction forpublic void setData(ReductionData data)
ReductionDataCollectorReductionFunctions that use this
data collector act like regular AnalyticsValue classes that
can be accessed through their get<value-type> methods.
(FOR SINGLE-SHARD)setData in class MaxCollector<MaxCollector.FloatMaxCollector.MaxData>data - the collected data to compute a reduction forCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.