![JAR search and dependency download from the Maven repository](/logo.png)
org.joo.libra.sql.node.StringExpressionNode 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.Predicate;
import org.joo.libra.common.SimpleLiteralPredicate;
public class StringExpressionNode extends ValueExpressionNode {
@Override
public Predicate buildPredicate() {
return new SimpleLiteralPredicate(value, value != null && !value.isEmpty());
}
public String toString() {
return "'" + value + "'";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy