SparqlBuilder instead.@Deprecated public interface QueryBuilder<T extends ParsedQuery> extends SupportsGroups
Interface for a QueryBuilder which provides a simple fluent API for constructing Sesame query object programmatically.
| Modifier and Type | Method and Description | 
|---|---|
| QueryBuilder<T> | addProjectionStatement(IRI theSubj,
                      IRI thePred,
                      String theObj)Deprecated.  | 
| QueryBuilder<T> | addProjectionStatement(IRI theSubj,
                      String thePred,
                      String theObj)Deprecated.  | 
| QueryBuilder<T> | addProjectionStatement(String theSubj,
                      IRI thePred,
                      String theObj)Deprecated.  | 
| QueryBuilder<T> | addProjectionStatement(String theSubj,
                      IRI thePred,
                      Value theObj)Deprecated.  | 
| QueryBuilder<T> | addProjectionStatement(String theSubj,
                      String thePred,
                      String theObj)Deprecated.  | 
| QueryBuilder<T> | addProjectionStatement(String theSubj,
                      String thePred,
                      Value theObj)Deprecated.  | 
| QueryBuilder<T> | addProjectionVar(String... theNames)Deprecated.  Add projection variables to the query | 
| QueryBuilder<T> | distinct()Deprecated.  Specify that this query should use the "distinct" keyword | 
| QueryBuilder<T> | from(IRI theURI)Deprecated.  Add a from clause to this query | 
| QueryBuilder<T> | fromNamed(IRI theURI)Deprecated.  Add a 'from named' clause to this query | 
| GroupBuilder<T,QueryBuilder<T>> | group()Deprecated.  Create a new sub-group of the query | 
| QueryBuilder<T> | limit(int theLimit)Deprecated.  Specify a limit for the query | 
| QueryBuilder<T> | offset(int theOffset)Deprecated.  Specify an offset for the query | 
| GroupBuilder<T,QueryBuilder<T>> | optional()Deprecated.  Create an option sub-group | 
| QueryBuilder<T> | orderBy(String... theNames)Deprecated.  Specify ORDER BY clause with ASC modifier by default | 
| QueryBuilder<T> | orderByAsc(String... theNames)Deprecated.  Specify ORDER BY clause with ASC modifier | 
| QueryBuilder<T> | orderByDesc(String... theNames)Deprecated.  Specify ORDER BY clause with DESC modifier | 
| T | query()Deprecated.  Return the query constructed by this query builder | 
| QueryBuilder<T> | reduced()Deprecated.  Specify that this query should use the "reduced" keyword | 
| void | reset()Deprecated.  Reset the state of the query builder | 
addGroup, removeGroupT query()
QueryBuilder<T> offset(int theOffset)
theOffset - the new offsetQueryBuilder<T> limit(int theLimit)
theLimit - the new limit for the queryGroupBuilder<T,QueryBuilder<T>> optional()
GroupBuilder<T,QueryBuilder<T>> group()
void reset()
QueryBuilder<T> distinct()
QueryBuilder<T> reduced()
QueryBuilder<T> addProjectionVar(String... theNames)
theNames - the names of the variables to add to the projectionQueryBuilder<T> from(IRI theURI)
theURI - the from URIQueryBuilder<T> fromNamed(IRI theURI)
theURI - the graph URIQueryBuilder<T> orderBy(String... theNames)
theNames - the names of the variables to apply the orderingQueryBuilder<T> orderByAsc(String... theNames)
theNames - the names of the variables to apply the orderingQueryBuilder<T> orderByDesc(String... theNames)
theNames - the names of the variables to apply the orderingQueryBuilder<T> addProjectionStatement(String theSubj, String thePred, String theObj)
QueryBuilder<T> addProjectionStatement(String theSubj, String thePred, Value theObj)
QueryBuilder<T> addProjectionStatement(String theSubj, IRI thePred, Value theObj)
QueryBuilder<T> addProjectionStatement(IRI theSubj, String thePred, String theObj)
QueryBuilder<T> addProjectionStatement(IRI theSubj, IRI thePred, String theObj)
QueryBuilder<T> addProjectionStatement(String theSubj, IRI thePred, String theObj)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.