public class Int64Expression extends java.lang.Object implements Resolvable
Resolvable
runtime expression
which must return an int64
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 |
---|
Int64Expression()
Default constructor.
|
Int64Expression(Accessor value)
Create an instance that has a fixed (non-varying) value.
|
Int64Expression(int64 value)
Create an instance that has a fixed (non-varying) value.
|
Int64Expression(long value)
Create an instance that has a fixed (non-varying) value.
|
Modifier and Type | Method and Description |
---|---|
int64 |
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 Int64Expression()
public Int64Expression(Accessor value)
value
- The fixed value for this instance.public Int64Expression(int64 value)
value
- The fixed value for this instance.public Int64Expression(long 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 int64 execute()
int64
.