Package org.apache.solr.analytics.value
Interface DoubleValueStream
-
- All Superinterfaces:
AnalyticsValueStream
- All Known Subinterfaces:
DoubleValue,DoubleValue.CastingDoubleValue,DoubleValueStream.CastingDoubleValueStream,FloatValue.CastingFloatValue,FloatValueStream.CastingFloatValueStream,IntValue.CastingIntValue,IntValueStream.CastingIntValueStream,LongValue.CastingLongValue,LongValueStream.CastingLongValueStream
- All Known Implementing Classes:
ConstantDoubleValue,ConstantFloatValue,ConstantIntValue,ConstantLongValue,CountFunction,DateMultiPointField,DateMultiTrieField,DocCountFunction,DoubleField,DoubleMultiPointField,DoubleMultiTrieField,DoubleValue.AbstractDoubleValue,DoubleValueStream.AbstractDoubleValueStream,FloatField,FloatMultiPointField,FloatMultiTrieField,FloatValue.AbstractFloatValue,FloatValueStream.AbstractFloatValueStream,IntField,IntMultiPointField,IntMultiTrieField,IntValue.AbstractIntValue,IntValueStream.AbstractIntValueStream,LongField,LongMultiPointField,LongMultiTrieField,LongValue.AbstractLongValue,LongValueStream.AbstractLongValueStream,MeanFunction,MissingFunction,SumFunction,UniqueFunction
public interface DoubleValueStream extends AnalyticsValueStream
A multi-valued analytics value that can be represented as a boolean.The back-end production of the value can change inbetween calls to
streamDoubles(java.util.function.DoubleConsumer), resulting in different values on each call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDoubleValueStream.AbstractDoubleValueStreamAn abstract base forDoubleValueStream.CastingDoubleValueStreamthat automatically casts to all types ifstreamDoubles(java.util.function.DoubleConsumer)is implemented.static interfaceDoubleValueStream.CastingDoubleValueStreamAn interface that represents all of the types aDoubleValueStreamshould 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 voidstreamDoubles(DoubleConsumer cons)Stream the double 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
-
streamDoubles
void streamDoubles(DoubleConsumer cons)
Stream the double representations of all current values, if any exist.- Parameters:
cons- The consumer to accept the values
-
-