SparqlBuilder instead.@Deprecated public class UnionBuilder<T extends ParsedQuery,E extends SupportsGroups> extends Object implements SupportsGroups<UnionBuilder<T,E>>, Group
Builder class for creating Unioned groups
| Constructor and Description | 
|---|
| UnionBuilder(GroupBuilder<T,E> theParent)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addChild(Group theGroup)Deprecated.  | 
| UnionBuilder<T,E> | addGroup(Group theGroup)Deprecated.  Add this group from the query | 
| GroupBuilder<T,E> | closeUnion()Deprecated.  Close this union and return it's parent group builder. | 
| TupleExpr | expr()Deprecated.  | 
| boolean | isOptional()Deprecated.  | 
| GroupBuilder<T,UnionBuilder<T,E>> | left()Deprecated.  Return a builder for creating the left operand of the union | 
| UnionBuilder<T,E> | removeGroup(Group theGroup)Deprecated.  Remove this group from the query | 
| GroupBuilder<T,UnionBuilder<T,E>> | right()Deprecated.  Return a builder for creating the right operand of the union | 
| int | size()Deprecated.  | 
public UnionBuilder(GroupBuilder<T,E> theParent)
public GroupBuilder<T,UnionBuilder<T,E>> left()
public GroupBuilder<T,UnionBuilder<T,E>> right()
public GroupBuilder<T,E> closeUnion()
public UnionBuilder<T,E> addGroup(Group theGroup)
SupportsGroupsaddGroup in interface SupportsGroups<UnionBuilder<T extends ParsedQuery,E extends SupportsGroups>>theGroup - the group to addpublic UnionBuilder<T,E> removeGroup(Group theGroup)
SupportsGroupsremoveGroup in interface SupportsGroups<UnionBuilder<T extends ParsedQuery,E extends SupportsGroups>>theGroup - the group to removepublic TupleExpr expr()
expr in interface SupportsExprpublic boolean isOptional()
isOptional in interface GroupCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.