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
Table s to SELECT … FROM . |
SelectBuilder.SelectFromAndJoin |
from(String table)
Declare a
Table to SELECT … FROM . |
SelectBuilder.SelectFromAndJoin |
from(Table... tables)
Declare one or more
Table s 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
Expression s in the select list. |
SelectBuilder.SelectFrom |
select(Expression... expressions)
Include one or more
Expression s in the select list. |
SelectBuilder.SelectFrom |
select(Expression expression)
Include a
Expression in the select list. |
build
SelectBuilder.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)
Expression
s 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)
Expression
s 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.SelectFrom
table
- 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.SelectFrom
table
- the table to SELECT … FROM
must not be null.this
builder.From
,
SQL.table(String)
SelectBuilder.SelectFromAndJoin from(Table... tables)
Table
s 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.SelectFrom
tables
- the tables to SELECT … FROM
must not be null.this
builder.From
,
SQL.table(String)
SelectBuilder.SelectFromAndJoin from(Collection<? extends Table> tables)
Table
s 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.SelectFrom
tables
- the tables to SELECT … FROM
must not be null.this
builder.From
,
SQL.table(String)
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.