public class Projection extends QueryElementCollection<Projectable>
elements
Modifier and Type | Method and Description |
---|---|
Projection |
all()
Specify that this projection should select all in-scope expressions
|
Projection |
all(boolean selectAll)
Specify if this projection should select all in-scope expressions or not
|
Projection |
distinct()
Specify this projection to be distinct
|
Projection |
distinct(boolean isDistinct)
Specify if this projection should be distinct or not
|
String |
getQueryString() |
Projection |
select(Projectable... projectables)
Add expressions for this projection to select
|
addElements, addElements, isEmpty
public Projection distinct()
public Projection distinct(boolean isDistinct)
isDistinct
- if this projection should be distinctpublic Projection all()
public Projection all(boolean selectAll)
selectAll
- if this projection should select all expressionspublic Projection select(Projectable... projectables)
projectables
- the projectable expressions to addpublic String getQueryString()
getQueryString
in interface QueryElement
getQueryString
in class QueryElementCollection<Projectable>
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.