Class UnionBuilder<T extends ParsedQuery,E extends SupportsGroups>
- java.lang.Object
-
- org.eclipse.rdf4j.queryrender.builder.UnionBuilder<T,E>
-
- All Implemented Interfaces:
Group
,SupportsExpr
,SupportsGroups<UnionBuilder<T,E>>
@Deprecated public class UnionBuilder<T extends ParsedQuery,E extends SupportsGroups> extends Object implements SupportsGroups<UnionBuilder<T,E>>, Group
Deprecated.useSparqlBuilder
instead.Builder class for creating Unioned groups
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description UnionBuilder(GroupBuilder<T,E> theParent)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addChild(Group theGroup)
Deprecated.UnionBuilder<T,E>
addGroup(Group theGroup)
Deprecated.Add this group from the queryGroupBuilder<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 unionUnionBuilder<T,E>
removeGroup(Group theGroup)
Deprecated.Remove this group from the queryGroupBuilder<T,UnionBuilder<T,E>>
right()
Deprecated.Return a builder for creating the right operand of the unionint
size()
Deprecated.
-
-
-
Constructor Detail
-
UnionBuilder
public UnionBuilder(GroupBuilder<T,E> theParent)
Deprecated.
-
-
Method Detail
-
left
public GroupBuilder<T,UnionBuilder<T,E>> left()
Deprecated.Return a builder for creating the left operand of the union- Returns:
- builder for left operand
-
right
public GroupBuilder<T,UnionBuilder<T,E>> right()
Deprecated.Return a builder for creating the right operand of the union- Returns:
- builder for right operand
-
closeUnion
public GroupBuilder<T,E> closeUnion()
Deprecated.Close this union and return it's parent group builder.- Returns:
- the parent builder
-
addGroup
public UnionBuilder<T,E> addGroup(Group theGroup)
Deprecated.Description copied from interface:SupportsGroups
Add this group from the query- Specified by:
addGroup
in interfaceSupportsGroups<T extends ParsedQuery>
- Parameters:
theGroup
- the group to add- Returns:
- this builder
-
removeGroup
public UnionBuilder<T,E> removeGroup(Group theGroup)
Deprecated.Description copied from interface:SupportsGroups
Remove this group from the query- Specified by:
removeGroup
in interfaceSupportsGroups<T extends ParsedQuery>
- Parameters:
theGroup
- the group to remove- Returns:
- this builder
-
addChild
public void addChild(Group theGroup)
Deprecated.
-
expr
public TupleExpr expr()
Deprecated.- Specified by:
expr
in interfaceSupportsExpr
-
isOptional
public boolean isOptional()
Deprecated.- Specified by:
isOptional
in interfaceGroup
-
-