public static interface SelectBuilder.SelectFromAndJoin extends SelectBuilder.SelectFromAndOrderBy, SelectBuilder.BuildSelect, SelectBuilder.SelectJoin, SelectBuilder.SelectWhere, SelectBuilder.SelectLimitOffset, SelectBuilder.SelectLock
FROM, JOIN, WHERE, LIMIT/OFFSET and LOCK methods.| Modifier and Type | Method and Description |
|---|---|
SelectBuilder.SelectFromAndJoin |
from(Collection<? extends Table> tables)
Declare one or more
Tables to SELECT … FROM. |
SelectBuilder.SelectFromAndJoin |
from(Table... tables)
Declare one or more
Tables to SELECT … FROM. |
SelectBuilder.SelectFromAndJoin |
from(Table table)
Declare a
Table to SELECT … FROM. |
SelectBuilder.SelectFromAndJoin |
limit(long limit)
Apply a limit of rows to read.
|
SelectBuilder.SelectFromAndJoin |
limitOffset(long limit,
long offset)
Apply
limit and offset parameters to the select statement. |
SelectBuilder.SelectFromAndJoin |
offset(long offset)
Apply an offset where to start reading rows.
|
from, orderBy, orderBy, orderByjoin, join, leftOuterJoinwhereSelectBuilder.SelectFromAndJoin from(Table table)
Table to SELECT … FROM. Multiple calls to this or other from methods keep
adding items to the select list and do not replace previously contained items.from in interface SelectBuilder.SelectFromfrom in interface SelectBuilder.SelectFromAndOrderBytable - the table to SELECT … FROM must not be null.this builder.From,
SQL.table(String)SelectBuilder.SelectFromAndJoin from(Table... tables)
Tables to SELECT … FROM. Multiple calls to this or other from methods
keep adding items to the select list and do not replace previously contained items.from in interface SelectBuilder.SelectFromfrom in interface SelectBuilder.SelectFromAndOrderBytables - the tables to SELECT … FROM must not be null.this builder.From,
SQL.table(String)SelectBuilder.SelectFromAndJoin from(Collection<? extends Table> tables)
Tables to SELECT … FROM. Multiple calls to this or other from methods
keep adding items to the select list and do not replace previously contained items.from in interface SelectBuilder.SelectFromfrom in interface SelectBuilder.SelectFromAndOrderBytables - the tables to SELECT … FROM must not be null.this builder.From,
SQL.table(String)SelectBuilder.SelectFromAndJoin limitOffset(long limit, long offset)
limit and offset parameters to the select statement. To read the first 20 rows from start
use limitOffset(20, 0). to read the next 20 use limitOffset(20, 20).limitOffset in interface SelectBuilder.SelectFromAndOrderBylimitOffset in interface SelectBuilder.SelectLimitOffsetlimit - rows to read.offset - row offset, zero-based.this builder.SelectBuilder.SelectFromAndJoin limit(long limit)
limit in interface SelectBuilder.SelectFromAndOrderBylimit in interface SelectBuilder.SelectLimitOffsetlimit - rows to read.this builder.SelectBuilder.SelectFromAndJoin offset(long offset)
offset in interface SelectBuilder.SelectFromAndOrderByoffset in interface SelectBuilder.SelectLimitOffsetoffset - start offset.this builder.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.