public class Literal<T> extends LeafExpression
Expression.Operator| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ExpressionVisitor<T> exprVisitor)
Traverses the expression with the provided
ExpressionVisitor |
Object |
eval(StructLike data) |
static <V> Literal |
from(V value) |
Type |
getDataType() |
T |
getValue() |
String |
toString() |
getChildrenpublic static <V> Literal from(V value)
public T getValue()
public Type getDataType()
public Object eval(StructLike data)
public <T> T accept(ExpressionVisitor<T> exprVisitor)
ExpressionExpressionVisitorpublic String toString()
toString in interface ExpressiontoString in class ObjectCopyright © 2024 The Apache Software Foundation. All rights reserved.