public abstract static class AnalyticsValue.AbstractAnalyticsValue extends Object implements AnalyticsValue
AnalyticsValue
that automatically casts to castable types.AnalyticsValue.AbstractAnalyticsValue
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
Constructor and Description |
---|
AbstractAnalyticsValue() |
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
exists, getObject
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.