jaskell.sql.Offset 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 Offset extends Query {
Directive _prefix;
Directive _offset;
Offset(int offset){
this._offset = new Literal(offset);
}
Offset(Directive offset){
this._offset = offset;
}
@Override
public String script() {
return String.format("%s OFFSET %s", _prefix.script(), _offset.script());
}
@Override
public List> parameters() {
List> re = _prefix.parameters();
re.addAll(_offset.parameters());
return re;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy