public abstract class ConstantValue extends Object implements AnalyticsValue
Constant values can be specified in the following ways in analytics requests:
AnalyticsValue.AbstractAnalyticsValue
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
Modifier and Type | Field and Description |
---|---|
static ExpressionFactory.ConstantFunction |
creatorFunction |
Constructor and Description |
---|
ConstantValue() |
Modifier and Type | Method and Description |
---|---|
AnalyticsValue |
convertToConstant()
Converts this value to a
ConstantValue if it's expression type is AnalyticsValueStream.ExpressionType.CONST . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists, getObject
createExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getName, streamObjects
public static final ExpressionFactory.ConstantFunction creatorFunction
public AnalyticsValue 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-2019 Apache Software Foundation. All Rights Reserved.