public class GroupBuilder<T extends ParsedQuery,E extends SupportsGroups> extends Object
Builder for creating a grouped set of query atoms and filters in a query.
| Constructor and Description |
|---|
GroupBuilder(E theBuilder) |
GroupBuilder(E theBuilder,
boolean theOptional) |
GroupBuilder(E theBuilder,
boolean theOptional,
BasicGroup theParent) |
| Modifier and Type | Method and Description |
|---|---|
GroupBuilder<T,E> |
atom(StatementPattern... thePatterns) |
GroupBuilder<T,E> |
atom(StatementPattern thePattern) |
GroupBuilder<T,E> |
atom(String theSubjVar,
String thePredVar,
String theObjVar) |
GroupBuilder<T,E> |
atom(String theSubjVar,
String thePredVar,
org.eclipse.rdf4j.model.Value theObj) |
GroupBuilder<T,E> |
atom(String theSubjVar,
org.eclipse.rdf4j.model.Value thePredVar,
String theObj) |
GroupBuilder<T,E> |
atom(String theSubjVar,
org.eclipse.rdf4j.model.Value thePred,
org.eclipse.rdf4j.model.Value theObj) |
GroupBuilder<T,E> |
atom(org.eclipse.rdf4j.model.Value theSubjVar,
String thePredVar,
String theObj) |
GroupBuilder<T,E> |
atom(org.eclipse.rdf4j.model.Value theSubjVar,
org.eclipse.rdf4j.model.Value thePredVar,
String theObj) |
GroupBuilder<T,E> |
atom(org.eclipse.rdf4j.model.Value theSubjVar,
org.eclipse.rdf4j.model.Value thePredVar,
org.eclipse.rdf4j.model.Value theObj) |
GroupBuilder<T,E> |
atoms(Set<StatementPattern> thePatterns) |
E |
closeGroup() |
FilterBuilder<T,E> |
filter() |
GroupBuilder<T,E> |
filter(String theVar,
Compare.CompareOp theOp,
org.eclipse.rdf4j.model.Value theValue) |
GroupBuilder<T,E> |
filter(ValueExpr theExpr) |
Group |
getGroup() |
GroupBuilder<T,E> |
group() |
GroupBuilder<T,E> |
optional() |
GroupBuilder<T,E> |
setContext(String theContextVar) |
GroupBuilder<T,E> |
setContext(org.eclipse.rdf4j.model.Value theContextValue) |
GroupBuilder<T,E> |
setScope(StatementPattern.Scope theScope) |
int |
size() |
UnionBuilder<T,E> |
union() |
static Var |
valueToVar(org.eclipse.rdf4j.model.Value theValue) |
public GroupBuilder(E theBuilder)
public GroupBuilder(E theBuilder, boolean theOptional)
public GroupBuilder(E theBuilder, boolean theOptional, BasicGroup theParent)
public int size()
public Group getGroup()
public GroupBuilder<T,E> group()
public GroupBuilder<T,E> optional()
public E closeGroup()
public UnionBuilder<T,E> union()
public GroupBuilder<T,E> setScope(StatementPattern.Scope theScope)
public GroupBuilder<T,E> setContext(String theContextVar)
public GroupBuilder<T,E> setContext(org.eclipse.rdf4j.model.Value theContextValue)
public FilterBuilder<T,E> filter()
public GroupBuilder<T,E> filter(ValueExpr theExpr)
public GroupBuilder<T,E> filter(String theVar, Compare.CompareOp theOp, org.eclipse.rdf4j.model.Value theValue)
public GroupBuilder<T,E> atom(StatementPattern thePattern)
public GroupBuilder<T,E> atom(StatementPattern... thePatterns)
public GroupBuilder<T,E> atoms(Set<StatementPattern> thePatterns)
public GroupBuilder<T,E> atom(String theSubjVar, String thePredVar, org.eclipse.rdf4j.model.Value theObj)
public GroupBuilder<T,E> atom(String theSubjVar, org.eclipse.rdf4j.model.Value thePredVar, String theObj)
public GroupBuilder<T,E> atom(String theSubjVar, org.eclipse.rdf4j.model.Value thePred, org.eclipse.rdf4j.model.Value theObj)
public GroupBuilder<T,E> atom(org.eclipse.rdf4j.model.Value theSubjVar, org.eclipse.rdf4j.model.Value thePredVar, org.eclipse.rdf4j.model.Value theObj)
public GroupBuilder<T,E> atom(org.eclipse.rdf4j.model.Value theSubjVar, org.eclipse.rdf4j.model.Value thePredVar, String theObj)
public GroupBuilder<T,E> atom(org.eclipse.rdf4j.model.Value theSubjVar, String thePredVar, String theObj)
public static Var valueToVar(org.eclipse.rdf4j.model.Value theValue)
Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.