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

jaskell.sql.On 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 class On implements Directive, CouldAlias {
    Directive _prefix;

    @Override
    public String script() {
        return String.format("%s ON", _prefix.script());
    }

    @Override
    public List> parameters() {
        return _prefix.parameters();
    }

    public Conflict conflict(){
        Conflict re = new Conflict();
        re._prefix = this;
        return re;
    }

    public Conflict conflict(String names){
        Conflict re = new Conflict(names);
        re._prefix = this;
        return re;
    }

    public Conflict conflict(String ... names){
        Conflict re = new Conflict(names);
        re._prefix = this;
        return re;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy