Package org.apache.solr.analytics.value
Interface IntValueStream
-
- All Superinterfaces:
AnalyticsValueStream
- All Known Subinterfaces:
IntValue
,IntValue.CastingIntValue
,IntValueStream.CastingIntValueStream
- All Known Implementing Classes:
ConstantIntValue
,IntField
,IntMultiPointField
,IntMultiTrieField
,IntValue.AbstractIntValue
,IntValueStream.AbstractIntValueStream
public interface IntValueStream extends AnalyticsValueStream
A multi-valued analytics value that can be represented as a int.The back-end production of the value can change inbetween calls to
streamInts(java.util.function.IntConsumer)
, resulting in different values on each call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IntValueStream.AbstractIntValueStream
An abstract base forIntValueStream.CastingIntValueStream
that automatically casts to all types ifstreamInts(java.util.function.IntConsumer)
is implemented.static interface
IntValueStream.CastingIntValueStream
An interface that represents all of the types aIntValueStream
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
streamInts(IntConsumer cons)
Stream the int 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
-
streamInts
void streamInts(IntConsumer cons)
Stream the int representations of all current values, if any exist.- Parameters:
cons
- The consumer to accept the values
-
-