Package org.apache.solr.analytics.value
Interface DateValueStream
-
- All Superinterfaces:
AnalyticsValueStream
,LongValueStream
- All Known Subinterfaces:
DateValue
,DateValue.CastingDateValue
,DateValueStream.CastingDateValueStream
- All Known Implementing Classes:
ConstantDateValue
,DateField
,DateMultiPointField
,DateMultiTrieField
,DateValue.AbstractDateValue
,DateValueStream.AbstractDateValueStream
public interface DateValueStream extends LongValueStream
A multi-valued analytics value that can be represented as a date.The back-end production of the value can change inbetween calls to
streamDates(java.util.function.Consumer<java.util.Date>)
, resulting in different values on each call.NOTE: Most date expressions work with the
long
representation of the date, so that less objects need to be created during execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DateValueStream.AbstractDateValueStream
An abstract base forDateValueStream.CastingDateValueStream
that automatically casts to all types ifLongValueStream.streamLongs(java.util.function.LongConsumer)
is implemented.static interface
DateValueStream.CastingDateValueStream
An interface that represents all of the types aDateValueStream
should be able to cast to.-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.LongValueStream
LongValueStream.AbstractLongValueStream, LongValueStream.CastingLongValueStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
streamDates(Consumer<Date> cons)
Stream the date representations of all current values, if any exist.-
Methods inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
convertToConstant, getExpressionStr, getExpressionType, getName, streamObjects
-
Methods inherited from interface org.apache.solr.analytics.value.LongValueStream
streamLongs
-
-