Package org.apache.solr.analytics.value
Interface FloatValueStream
-
- All Superinterfaces:
AnalyticsValueStream
- All Known Subinterfaces:
FloatValue
,FloatValue.CastingFloatValue
,FloatValueStream.CastingFloatValueStream
,IntValue.CastingIntValue
,IntValueStream.CastingIntValueStream
- All Known Implementing Classes:
ConstantFloatValue
,ConstantIntValue
,FloatField
,FloatMultiPointField
,FloatMultiTrieField
,FloatValue.AbstractFloatValue
,FloatValueStream.AbstractFloatValueStream
,IntField
,IntMultiPointField
,IntMultiTrieField
,IntValue.AbstractIntValue
,IntValueStream.AbstractIntValueStream
public interface FloatValueStream extends AnalyticsValueStream
A multi-valued analytics value that can be represented as a float.The back-end production of the value can change inbetween calls to
streamFloats(org.apache.solr.analytics.util.function.FloatConsumer)
, resulting in different values on each call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FloatValueStream.AbstractFloatValueStream
An abstract base forFloatValueStream.CastingFloatValueStream
that automatically casts to all types ifstreamFloats(org.apache.solr.analytics.util.function.FloatConsumer)
is implemented.static interface
FloatValueStream.CastingFloatValueStream
An interface that represents all of the types aFloatValueStream
should be able to cast to.-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
streamFloats(FloatConsumer cons)
Stream the float representations of all current values, if any exist.-
Methods inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
convertToConstant, getExpressionStr, getExpressionType, getName, streamObjects
-
-
-
-
Method Detail
-
streamFloats
void streamFloats(FloatConsumer cons)
Stream the float representations of all current values, if any exist.- Parameters:
cons
- The consumer to accept the values
-
-