Package org.apache.solr.analytics.value
Interface LongValueStream
- All Superinterfaces:
AnalyticsValueStream
- All Known Subinterfaces:
DateValue,DateValue.CastingDateValue,DateValueStream,DateValueStream.CastingDateValueStream,IntValue.CastingIntValue,IntValueStream.CastingIntValueStream,LongValue,LongValue.CastingLongValue,LongValueStream.CastingLongValueStream
- All Known Implementing Classes:
ConstantDateValue,ConstantIntValue,ConstantLongValue,CountFunction,DateField,DateMultiPointField,DateMultiTrieField,DateValue.AbstractDateValue,DateValueStream.AbstractDateValueStream,DocCountFunction,IntField,IntMultiPointField,IntMultiTrieField,IntValue.AbstractIntValue,IntValueStream.AbstractIntValueStream,LongField,LongMultiPointField,LongMultiTrieField,LongValue.AbstractLongValue,LongValueStream.AbstractLongValueStream,MissingFunction,UniqueFunction
A multi-valued analytics value that can be represented as a long.
The back-end production of the value can change inbetween calls to streamLongs(java.util.function.LongConsumer),
resulting in different values on each call.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base forLongValueStream.CastingLongValueStreamthat automatically casts to all types ifstreamLongs(java.util.function.LongConsumer)is implemented.static interfaceAn interface that represents all of the types aLongValueStreamshould be able to cast to.Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType -
Method Summary
Modifier and TypeMethodDescriptionvoidstreamLongs(LongConsumer cons) Stream the long representations of all current values, if any exist.Methods inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
convertToConstant, getExpressionStr, getExpressionType, getName, streamObjects
-
Method Details
-
streamLongs
Stream the long representations of all current values, if any exist.- Parameters:
cons- The consumer to accept the values
-