public class SelectQuery extends OuterQuery<SelectQuery>
base, prefixes| Modifier and Type | Method and Description | 
|---|---|
| SelectQuery | all()Specify that this query's projection should select all in-scope expressions | 
| SelectQuery | all(boolean selectAll)Specify if this query's projection should select all in-scope expressions or not. | 
| SelectQuery | distinct()Specify the query's projection to be distinct | 
| SelectQuery | distinct(boolean isDistinct)Specify if the query's projection should be distinct or not | 
| protected String | getQueryActionString() | 
| SelectQuery | select(Projectable... projectables)Add expressions to the query's projection | 
| SelectQuery | select(Projection select)Set this query's projection | 
base, base, getQueryString, prefix, prefixpublic SelectQuery distinct()
Projection.distinct()public SelectQuery distinct(boolean isDistinct)
isDistinct - if this query's projection should be distinctProjection.distinct(boolean)public SelectQuery all()
 NOTE: setting this takes precedence over any expressions added to the projection via
 select(Projectable...) or select(Projection) when printing
Projection.all()public SelectQuery all(boolean selectAll)
 NOTE: if called with true, this setting will take precedence over any expressions added to the
 projection via select(Projectable...) or select(Projection) when converting to string via
 OuterQuery.getQueryString()
selectAll - if all in-scope expressions should be selectedProjection.all(boolean)public SelectQuery select(Projectable... projectables)
 NOTE: if SELECT * has been specified (by all() or calling all(boolean) with true),
 that will take precedence over specified expressions when converting to string via OuterQuery.getQueryString()
projectables - expressions to addProjection.select(Projectable...)public SelectQuery select(Projection select)
 NOTE: if SELECT * has been specified (by all() or calling all(boolean) with true),
 that will take precedence over specified expressions when converting to string via OuterQuery.getQueryString()
select - the Projection to setprotected String getQueryActionString()
getQueryActionString in class Query<SelectQuery>Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.