public class ConstantExpression extends Object implements Expression
Modifier and Type | Field and Description |
---|---|
static org.apache.activemq.artemis.selector.filter.ConstantExpression.BooleanConstantExpression |
FALSE |
static org.apache.activemq.artemis.selector.filter.ConstantExpression.BooleanConstantExpression |
NULL |
static org.apache.activemq.artemis.selector.filter.ConstantExpression.BooleanConstantExpression |
TRUE |
Constructor and Description |
---|
ConstantExpression(Object value) |
Modifier and Type | Method and Description |
---|---|
static ConstantExpression |
createFloat(String text) |
static ConstantExpression |
createFromDecimal(String text) |
static ConstantExpression |
createFromHex(String text) |
static ConstantExpression |
createFromOctal(String text) |
static String |
encodeString(String s)
Encodes the value of string so that it looks like it would look like when
it was provided in a selector.
|
boolean |
equals(Object o) |
Object |
evaluate(Filterable message) |
Object |
getValue() |
int |
hashCode() |
String |
toString() |
public static final org.apache.activemq.artemis.selector.filter.ConstantExpression.BooleanConstantExpression NULL
public static final org.apache.activemq.artemis.selector.filter.ConstantExpression.BooleanConstantExpression TRUE
public static final org.apache.activemq.artemis.selector.filter.ConstantExpression.BooleanConstantExpression FALSE
public ConstantExpression(Object value)
public static ConstantExpression createFromDecimal(String text)
public static ConstantExpression createFromHex(String text)
public static ConstantExpression createFromOctal(String text)
public static ConstantExpression createFloat(String text)
public Object evaluate(Filterable message) throws FilterException
evaluate
in interface Expression
FilterException
public Object getValue()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
Object.equals(Object)
Copyright © 2017 JBoss by Red Hat. All rights reserved.