public class GroupBuilder<T extends ParsedQuery,E extends SupportsGroups> extends Object
Builder for creating a grouped set of query atoms and filters in a query.
Constructor and Description |
---|
GroupBuilder(E theBuilder) |
GroupBuilder(E theBuilder,
boolean theOptional) |
GroupBuilder(E theBuilder,
boolean theOptional,
BasicGroup theParent) |
public GroupBuilder(E theBuilder)
public GroupBuilder(E theBuilder, boolean theOptional)
public GroupBuilder(E theBuilder, boolean theOptional, BasicGroup theParent)
public int size()
public Group getGroup()
public GroupBuilder<T,E> group()
public GroupBuilder<T,E> optional()
public E closeGroup()
public UnionBuilder<T,E> union()
public GroupBuilder<T,E> setScope(StatementPattern.Scope theScope)
public GroupBuilder<T,E> setContext(String theContextVar)
public GroupBuilder<T,E> setContext(Value theContextValue)
public FilterBuilder<T,E> filter()
public GroupBuilder<T,E> filter(ValueExpr theExpr)
public GroupBuilder<T,E> filter(String theVar, Compare.CompareOp theOp, Value theValue)
public GroupBuilder<T,E> atom(StatementPattern thePattern)
public GroupBuilder<T,E> atom(StatementPattern... thePatterns)
public GroupBuilder<T,E> atoms(Set<StatementPattern> thePatterns)
Copyright © 2001-2016 Aduna. All Rights Reserved.