public static interface SelectBuilder.SelectAndFrom extends SelectBuilder.SelectFrom
SELECT and FROM methods.| Modifier and Type | Method and Description |
|---|---|
SelectBuilder.SelectAndFrom |
distinct()
Makes the select statement distinct
|
SelectBuilder.SelectFromAndJoin |
from(Collection<? extends Table> tables)
Declare one or more
Tables to SELECT … FROM. |
SelectBuilder.SelectFromAndJoin |
from(String table)
Declare a
Table 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.SelectFrom |
select(Collection<? extends Expression> expressions)
Include one or more
Expressions in the select list. |
SelectBuilder.SelectFrom |
select(Expression... expressions)
Include one or more
Expressions in the select list. |
SelectBuilder.SelectFrom |
select(Expression expression)
Include a
Expression in the select list. |
buildSelectBuilder.SelectFrom select(Expression expression)
Expression in the select list. Multiple calls to this or other select methods keep
adding items to the select list and do not replace previously contained items.expression - the expression to include.this builder.Table.column(String)SelectBuilder.SelectFrom select(Expression... expressions)
Expressions in the select list. Multiple calls to this or other select
methods keep adding items to the select list and do not replace previously contained items.expressions - the expressions to include.this builder.Table.columns(String...)SelectBuilder.SelectFrom select(Collection<? extends Expression> expressions)
Expressions in the select list. Multiple calls to this or other select
methods keep adding items to the select list and do not replace previously contained items.expressions - the expressions to include.this builder.Table.columns(String...)SelectBuilder.SelectAndFrom distinct()
this builder.SelectBuilder.SelectFromAndJoin from(String 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.SelectFromtable - the table name to SELECT … FROM must not be null or empty.this builder.From,
SQL.table(String)SelectBuilder.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.SelectFromtable - 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.SelectFromtables - 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.SelectFromtables - the tables to SELECT … FROM must not be null.this builder.From,
SQL.table(String)Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.