Package org.apache.solr.analytics.value
Interface BooleanValueStream
-
- All Superinterfaces:
AnalyticsValueStream
- All Known Subinterfaces:
BooleanValue
,BooleanValue.CastingBooleanValue
,BooleanValueStream.CastingBooleanValueStream
- All Known Implementing Classes:
BooleanField
,BooleanMultiField
,BooleanValue.AbstractBooleanValue
,BooleanValueStream.AbstractBooleanValueStream
,ConstantBooleanValue
public interface BooleanValueStream 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
streamBooleans(org.apache.solr.analytics.util.function.BooleanConsumer)
, resulting in different values on each call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BooleanValueStream.AbstractBooleanValueStream
An abstract base forBooleanValueStream.CastingBooleanValueStream
that automatically casts to all types ifstreamBooleans(org.apache.solr.analytics.util.function.BooleanConsumer)
is implemented.static interface
BooleanValueStream.CastingBooleanValueStream
An interface that represents all of the types aBooleanValueStream
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
streamBooleans(BooleanConsumer cons)
Stream the boolean 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
-
streamBooleans
void streamBooleans(BooleanConsumer cons)
Stream the boolean representations of all current values, if any exist.- Parameters:
cons
- The consumer to accept the values
-
-