public class SubSelect extends Query<SubSelect> implements GraphPattern
| Constructor and Description | 
|---|
| SubSelect() | 
| Modifier and Type | Method and Description | 
|---|---|
| SubSelect | all()Specify that this query's projection should select all in-scope expressions | 
| SubSelect | all(boolean selectAll)Specify if this query's projection should select all in-scope expressions or not. | 
| SubSelect | distinct()Specify the query's projection to be distinct | 
| SubSelect | distinct(boolean isDistinct)Specify if the query's projection should be distinct or not | 
| protected String | getQueryActionString() | 
| String | getQueryString() | 
| boolean | isEmpty() | 
| SubSelect | select(Projectable... projectables)Add expressions to the query's projection | 
| SubSelect | select(Projection select)Set this query's projection | 
bNode, from, from, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, var, where, whereclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, filter, filterExists, filterExists, filterNotExists, from, minus, optional, optional, unionpublic SubSelect distinct()
Projection.distinct()public SubSelect distinct(boolean isDistinct)
isDistinct - if this query's projection should be distinctProjection.distinct(boolean)public SubSelect all()
 NOTE: setting this takes precedence over any expressions added to the projection via
 select(Projectable...) when printing
Projection.all()public SubSelect all(boolean selectAll)
 NOTE: if called with true, this setting will take precedence over any expressions added to the
 projection via select(Projectable...) when printing
selectAll - if all in-scope expressions should be selectedProjection.all(boolean)public SubSelect 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 getQueryString()
projectables - expressions to addProjection.select(Projectable...)public SubSelect select(Projection select)
select - the Projection to setpublic boolean isEmpty()
isEmpty in interface GraphPatternprotected String getQueryActionString()
getQueryActionString in class Query<SubSelect>public String getQueryString()
getQueryString in interface QueryElementgetQueryString in class Query<SubSelect>Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.