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.useSparqlBuilderinstead.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 voidaddChild(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.TupleExprexpr()Deprecated.booleanisOptional()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 unionintsize()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.Add this group from the query- Specified by:
addGroupin interfaceSupportsGroups<T extends ParsedQuery>- Parameters:
theGroup- the group to add- Returns:
- this builder
-
removeGroup
public UnionBuilder<T,E> removeGroup(Group theGroup)
Deprecated.Remove this group from the query- Specified by:
removeGroupin 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:
exprin interfaceSupportsExpr
-
isOptional
public boolean isOptional()
Deprecated.- Specified by:
isOptionalin interfaceGroup
-
-