public interface DateValue extends DateValueStream, LongValue
The back-end production of the value can change inbetween calls to getDate()
and AnalyticsValue.exists()
,
resulting in different values on each call.
NOTE: Most date expressions work with the long
representation of the date, so that less
objects need to be created during execution.
Modifier and Type | Interface and Description |
---|---|
static class |
DateValue.AbstractDateValue
An abstract base for
DateValue.CastingDateValue that automatically casts to all types if LongValue.getLong() and AnalyticsValue.exists() are implemented. |
static interface |
DateValue.CastingDateValue
An interface that represents all of the types a
DateValue should be able to cast to. |
DateValueStream.AbstractDateValueStream, DateValueStream.CastingDateValueStream
LongValue.AbstractLongValue, LongValue.CastingLongValue
LongValueStream.AbstractLongValueStream, LongValueStream.CastingLongValueStream
AnalyticsValue.AbstractAnalyticsValue
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Get the date representation of the current value.
|
streamDates
streamLongs
exists, getObject
convertToConstant, createExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getName, streamObjects
Date getDate()
NOTE: The value returned is not valid unless calling AnalyticsValue.exists()
afterwards returns TRUE
.
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.