jaskell.sql.Binary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaskell-java8 Show documentation
Show all versions of jaskell-java8 Show documentation
This is a utils library for java 8 project.
It include parsec combinators and sql generators library.
package jaskell.sql;
import jaskell.script.Directive;
import jaskell.script.Parameter;
import java.util.List;
public abstract class Binary extends Predicate {
Directive _left;
Directive _right;
protected abstract String operator();
@Override
public String script() {
return String.format("%s%s%s", _left.script(), operator(), _right.script());
}
@Override
public List> parameters() {
List> re = _left.parameters();
re.addAll(_right.parameters());
return re;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy