Interface SelectBuilder.SelectAndFrom
- All Superinterfaces:
SelectBuilder.BuildSelect,SelectBuilder.SelectFrom
- Enclosing interface:
- SelectBuilder
Builder exposing
SELECT and FROM methods.-
Method Summary
Modifier and TypeMethodDescriptiondistinct()Makes the select statement distinctDeclare aTabletoSELECT … FROM.from(Collection<? extends TableLike> tables) Declare one or moreTables toSELECT … FROM.Declare aTabletoSELECT … FROM.Declare one or moreTables toSELECT … FROM.select(Collection<? extends Expression> expressions) Include one or moreExpressions in the select list.select(Expression expression) Include aExpressionin the select list.select(Expression... expressions) Include one or moreExpressions in the select list.Methods inherited from interface org.springframework.data.relational.core.sql.SelectBuilder.BuildSelect
build
-
Method Details
-
select
Include aExpressionin the select list. Multiple calls to this or otherselectmethods keep adding items to the select list and do not replace previously contained items.- Parameters:
expression- the expression to include.- Returns:
thisbuilder.- See Also:
-
select
Include one or moreExpressions in the select list. Multiple calls to this or otherselectmethods keep adding items to the select list and do not replace previously contained items.- Parameters:
expressions- the expressions to include.- Returns:
thisbuilder.- See Also:
-
select
Include one or moreExpressions in the select list. Multiple calls to this or otherselectmethods keep adding items to the select list and do not replace previously contained items.- Parameters:
expressions- the expressions to include.- Returns:
thisbuilder.- See Also:
-
distinct
SelectBuilder.SelectAndFrom distinct()Makes the select statement distinct- Returns:
thisbuilder.
-
from
Declare aTabletoSELECT … FROM. Multiple calls to this or otherfrommethods keep adding items to the select list and do not replace previously contained items.- Specified by:
fromin interfaceSelectBuilder.SelectFrom- Parameters:
table- the table name toSELECT … FROMmust not be null or empty.- Returns:
thisbuilder.- See Also:
-
from
Declare aTabletoSELECT … FROM. Multiple calls to this or otherfrommethods keep adding items to the select list and do not replace previously contained items.- Specified by:
fromin interfaceSelectBuilder.SelectFrom- Parameters:
table- the table toSELECT … FROMmust not be null.- Returns:
thisbuilder.- See Also:
-
from
Declare one or moreTables toSELECT … FROM. Multiple calls to this or otherfrommethods keep adding items to the select list and do not replace previously contained items.- Specified by:
fromin interfaceSelectBuilder.SelectFrom- Parameters:
tables- the tables toSELECT … FROMmust not be null.- Returns:
thisbuilder.- See Also:
-
from
Declare one or moreTables toSELECT … FROM. Multiple calls to this or otherfrommethods keep adding items to the select list and do not replace previously contained items.- Specified by:
fromin interfaceSelectBuilder.SelectFrom- Parameters:
tables- the tables toSELECT … FROMmust not be null.- Returns:
thisbuilder.- See Also:
-