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
longrepresentation of the date, so that less objects need to be created during execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDateValueStream.AbstractDateValueStreamAn abstract base forDateValueStream.CastingDateValueStreamthat automatically casts to all types ifLongValueStream.streamLongs(java.util.function.LongConsumer)is implemented.static interfaceDateValueStream.CastingDateValueStreamAn interface that represents all of the types aDateValueStreamshould 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 voidstreamDates(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
-
-