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
public interface LongValueStream extends AnalyticsValueStream
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 Classes Modifier and Type Interface Description static classLongValueStream.AbstractLongValueStreamAn abstract base forLongValueStream.CastingLongValueStreamthat automatically casts to all types ifstreamLongs(java.util.function.LongConsumer)is implemented.static interfaceLongValueStream.CastingLongValueStreamAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstreamLongs(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 Detail
-
streamLongs
void streamLongs(LongConsumer cons)
Stream the long representations of all current values, if any exist.- Parameters:
cons- The consumer to accept the values
-
-