Interface SelectBuilder.SelectFromAndJoinCondition
- All Superinterfaces:
SelectBuilder.BuildSelect, SelectBuilder.SelectJoin, SelectBuilder.SelectLimitOffset, SelectBuilder.SelectLock, SelectBuilder.SelectOnCondition, SelectBuilder.SelectOrdered, SelectBuilder.SelectWhere
- Enclosing interface:
SelectBuilder
public static interface SelectBuilder.SelectFromAndJoinCondition
extends SelectBuilder.BuildSelect, SelectBuilder.SelectJoin, SelectBuilder.SelectWhere, SelectBuilder.SelectOnCondition, SelectBuilder.SelectLimitOffset, SelectBuilder.SelectLock
Builder exposing
FROM, WHERE, LIMIT/OFFSET, JOIN AND and LOCK continuation
methods.- Since:
- 1.1
- Author:
- Mark Paluch, Jens Schauder, Myeonghyeon Lee
-
Method Summary
Modifier and TypeMethodDescriptionlimit(long limit) Apply a limit of rows to read.limitOffset(long limit, long offset) Applylimitandoffsetparameters to the select statement.offset(long offset) Apply an offset where to start reading rows.Methods inherited from interface SelectBuilder.BuildSelect
build, buildMethods inherited from interface SelectBuilder.SelectJoin
join, join, join, leftOuterJoinMethods inherited from interface SelectBuilder.SelectLock
lockMethods inherited from interface SelectBuilder.SelectOnCondition
andMethods inherited from interface SelectBuilder.SelectOrdered
orderBy, orderBy, orderByMethods inherited from interface SelectBuilder.SelectWhere
where
-
Method Details
-
limitOffset
Applylimitandoffsetparameters to the select statement. To read the first 20 rows from start uselimitOffset(20, 0). to read the next 20 uselimitOffset(20, 20).- Specified by:
limitOffsetin interfaceSelectBuilder.SelectLimitOffset- Parameters:
limit- rows to read.offset- row offset, zero-based.- Returns:
thisbuilder.
-
limit
Apply a limit of rows to read.- Specified by:
limitin interfaceSelectBuilder.SelectLimitOffset- Parameters:
limit- rows to read.- Returns:
thisbuilder.
-
offset
Apply an offset where to start reading rows.- Specified by:
offsetin interfaceSelectBuilder.SelectLimitOffset- Parameters:
offset- start offset.- Returns:
thisbuilder.
-