org.joo.libra.sql.node.ValueExpressionNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joo-libra Show documentation
Show all versions of joo-libra Show documentation
Java Predicate with SQL-like syntax support
package org.joo.libra.sql.node;
import org.joo.libra.PredicateContext;
import org.joo.libra.common.HasValue;
import lombok.Data;
@Data
public abstract class ValueExpressionNode implements ExpressionNode, HasValue {
protected T value;
@Override
public T getValue(final PredicateContext context) {
return value;
}
public void setValue(final T value) {
this.value = value;
}
}