SparqlBuilder instead.@Deprecated public class BasicGroup extends Object implements Group
Internal class for representing a group within a query.
| Constructor and Description | 
|---|
| BasicGroup(boolean theOptional)Deprecated.  Create a new BasicGroup | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(TupleExpr theExpr)Deprecated.  | 
| void | addAll(Collection<? extends TupleExpr> theTupleExprs)Deprecated.  | 
| void | addChild(Group theGroup)Deprecated.  | 
| void | addFilter(ValueExpr theExpr)Deprecated.  Add a Filter to this group | 
| TupleExpr | expr()Deprecated.  | 
| Collection<StatementPattern> | getPatterns()Deprecated.  | 
| boolean | isEmpty()Deprecated.  | 
| boolean | isOptional()Deprecated.  | 
| void | removeChild(Group theGroup)Deprecated.  Remove a child from this group | 
| int | size()Deprecated.  | 
public BasicGroup(boolean theOptional)
theOptional - whether or not the patterns and filters in this group are optionalpublic void removeChild(Group theGroup)
theGroup - the child to removepublic void addFilter(ValueExpr theExpr)
theExpr - the value filter to addpublic boolean isEmpty()
public boolean isOptional()
isOptional in interface Grouppublic TupleExpr expr()
expr in interface SupportsExprpublic void add(TupleExpr theExpr)
public void addAll(Collection<? extends TupleExpr> theTupleExprs)
public Collection<StatementPattern> getPatterns()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.