jaskell.sql.Order 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 class Order implements Directive {
Directive _prefix;
@Override
public String script() {
return String.format("%s ORDER", _prefix.script());
}
@Override
public List> parameters() {
return _prefix.parameters();
}
public By by(String names) {
By re = new By(names);
re._prefix = this;
return re;
}
public By by(String... names) {
By re = new By(names);
re._prefix = this;
return re;
}
public By by(Directive... names) {
By re = new By(names);
re._prefix = this;
return re;
}
public By by(List names) {
By re = new By(names);
re._prefix = this;
return re;
}
public static class By extends jaskell.sql.By {
By(String names) {
super(names);
}
By(String... names) {
super(names);
}
By(Directive... names) {
super(names);
}
By(List names) {
super(names);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy