Class Fetch
- java.lang.Object
-
- com.github.eikecochu.sqlbuilder.QueryPartImpl<Fetch>
-
- com.github.eikecochu.sqlbuilder.mssql.Fetch
-
- All Implemented Interfaces:
QueryBuilder<Fetch>,QueryPart,QueryPartLinked<Fetch>,QueryPartSQL<Fetch>
public class Fetch extends QueryPartImpl<Fetch> implements QueryBuilder<Fetch>
Fetch statement Supported by MS SQL Server, Oracle 12c, PostgreSQL
-
-
Constructor Summary
Constructors Modifier Constructor Description Fetch(int fetch)Create a new Fetch statement with the amount of rows to be fetchedprotectedFetch(QueryPartLinked<?> parent, int fetch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstring(QueryOptions options)Transforms this statement into an SQL string-
Methods inherited from class com.github.eikecochu.sqlbuilder.QueryPartImpl
parent, sql
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryBuilder
query, query
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
-
-
-
Constructor Detail
-
Fetch
public Fetch(int fetch)
Create a new Fetch statement with the amount of rows to be fetched- Parameters:
fetch- The amount of rows to be fetched
-
Fetch
protected Fetch(QueryPartLinked<?> parent, int fetch)
-
-
Method Detail
-
string
public java.lang.String string(QueryOptions options)
Description copied from interface:QueryPartTransforms this statement into an SQL string
-
-