public class DatetimeTzExpression extends java.lang.Object implements Resolvable
Resolvable
runtime expression
which must return a datetimetz
result. Subclasses need implement
only the execute()
method.Modifier and Type | Field and Description |
---|---|
private Accessor |
value
Any fixed value for the expression or
null . |
Constructor and Description |
---|
DatetimeTzExpression()
Default constructor.
|
DatetimeTzExpression(Accessor value)
Create an instance that has a fixed (non-varying) value.
|
DatetimeTzExpression(datetimetz value)
Create an instance that has a fixed (non-varying) value.
|
Modifier and Type | Method and Description |
---|---|
datetimetz |
execute()
Execute the underlying expression and get its result.
|
java.lang.Class |
getType()
Report the return type expected from executing the expression.
|
BaseDataType |
resolve()
Execute the underlying expression and get its result.
|
private Accessor value
null
.public DatetimeTzExpression()
public DatetimeTzExpression(Accessor value)
value
- The fixed value for this instance.public DatetimeTzExpression(datetimetz value)
value
- The fixed value for this instance.public final BaseDataType resolve()
resolve
in interface Resolvable
public final java.lang.Class getType()
getType
in interface Resolvable
BaseDataType
.public datetimetz execute()
date
.