All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jaskell.sql.Binary Maven / Gradle / Ivy

Go to download

This is a utils library for java 8 project. It include parsec combinators and sql generators library.

There is a newer version: 2.9.2
Show newest version
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