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.

  • Method Details

    • streamLongs

      void streamLongs(LongConsumer cons)
      Stream the long representations of all current values, if any exist.
      Parameters:
      cons - The consumer to accept the values