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) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Group theGroup) |
UnionBuilder<T,E> |
addGroup(Group theGroup)
Add this group from the query
|
GroupBuilder<T,E> |
closeUnion()
Close this union and return it's parent group builder.
|
TupleExpr |
expr() |
boolean |
isOptional() |
GroupBuilder<T,UnionBuilder<T,E>> |
left()
Return a builder for creating the left operand of the union
|
UnionBuilder<T,E> |
removeGroup(Group theGroup)
Remove this group from the query
|
GroupBuilder<T,UnionBuilder<T,E>> |
right()
Return a builder for creating the right operand of the union
|
int |
size() |
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-2018 Eclipse Foundation. All Rights Reserved.