public abstract static class StringValueStream.AbstractStringValueStream extends Object implements StringValueStream.CastingStringValueStream
StringValueStream.CastingStringValueStream
that automatically casts to all types if StringValueStream.streamStrings(java.util.function.Consumer<java.lang.String>)
is implemented.StringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
Constructor and Description |
---|
AbstractStringValueStream() |
Modifier and Type | Method and Description |
---|---|
AnalyticsValueStream |
convertToConstant()
Converts this value to a
ConstantValue if it's expression type is AnalyticsValueStream.ExpressionType.CONST . |
void |
streamObjects(Consumer<Object> cons)
Stream the object representations of all current values, if any exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
streamStrings
createExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getName
public void streamObjects(Consumer<Object> cons)
AnalyticsValueStream
streamObjects
in interface AnalyticsValueStream
cons
- The consumer to accept the valuespublic AnalyticsValueStream convertToConstant()
AnalyticsValueStream
ConstantValue
if it's expression type is AnalyticsValueStream.ExpressionType.CONST
.
If the value is reduced then no conversion will occur and the value itself will be returned.convertToConstant
in interface AnalyticsValueStream
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.