| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Query.Builder |
branch()
Creates a new branch in the tree and returns a builder of that branch.
|
Query |
build()
Builds the whole tree regardless of where in the tree the current builder "operates".
|
Query.Builder |
done()
Concludes the work on a branch and returns a builder of the parent "node", if any.
|
Query.Builder |
with(Function<Filter,QueryFragment> converter,
QueryFragment... filters) |
Query.Builder |
with(Query other) |
Query.Builder |
with(QueryFragment... filters)
Sets the filters to be used on the current node in the tree.
|
Query.Builder |
with(Query other,
Function<Filter,QueryFragment> converter) |
public Query.Builder branch()
public Query.Builder done()
public Query.Builder with(QueryFragment... filters)
filters - the list of filters to apply to the query at this position in the tree.public Query.Builder with(Function<Filter,QueryFragment> converter, QueryFragment... filters)
public Query.Builder with(Query other)
public Query.Builder with(Query other, Function<Filter,QueryFragment> converter)
public Query build()
Copyright © 2015 Red Hat, Inc.. All rights reserved.