org.infinispan.objectfilter.impl.syntax.ConstantValueExpr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-embedded-query
Show all versions of infinispan-embedded-query
Infinispan Embedded Query All-in-One module
package org.infinispan.objectfilter.impl.syntax;
/**
* @author [email protected]
* @since 7.0
*/
public final class ConstantValueExpr implements ValueExpr {
private final Comparable constantValue;
public ConstantValueExpr(Comparable constantValue) {
this.constantValue = constantValue;
}
public Comparable getConstantValue() {
return constantValue;
}
@Override
public ValueExpr acceptVisitor(Visitor visitor) {
return visitor.visit(this);
}
@Override
public String toString() {
return "ConstantValueExpr(" + constantValue + ')';
}
}