public abstract class Literal extends AbstractExpression
| Constructor and Description |
|---|
Literal() |
| Modifier and Type | Method and Description |
|---|---|
static Literal |
getLiteral(java.lang.Object val)
Return the given object as a new Literal instance.
|
static Literal |
getLiteral(java.lang.Object val,
java.lang.Class type)
Return the given object as a new Literal instance.
|
static Literal |
getLiteral(Tuple t,
java.lang.String field)
Evaluate the given tuple and data field and return the
result as a new Literal instance.
|
addChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, get, getBoolean, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic static Literal getLiteral(Tuple t, java.lang.String field)
t - the Tuplefield - the data field to lookuppublic static Literal getLiteral(java.lang.Object val)
val - the object valuepublic static Literal getLiteral(java.lang.Object val, java.lang.Class type)
val - the object valuetype - the type the literal should take