BE - the type of the backend elementsE - the type of the inventory element the new context will representpublic static final class TraversalContext.Builder<BE,E extends AbstractElement<?,?>> extends Object
| Constructor and Description |
|---|
Builder(TraversalContext<BE,?> sourceContext,
Query.SymmetricExtender pathExtender,
Query.SymmetricExtender selectExtender,
Class<E> entityClass) |
| Modifier and Type | Method and Description |
|---|---|
TraversalContext.Builder<BE,E> |
hop(Filter... filters)
Appends the provided set of filters to the current select candidates.
|
TraversalContext.Builder<BE,E> |
hop(Filter[][] filters)
Create query branches in the select candidates with each of the provided sets of filters.
|
TraversalContext.Builder<BE,E> |
where(Filter... filters)
Appends the provided set of filters to the current select candidates.
|
TraversalContext.Builder<BE,E> |
where(Filter[][] filters)
Create query branches in the select candidates with each of the provided sets of filters.
|
TraversalContext.Builder<BE,E> |
whereAll(Filter[][] filters)
Appends the sets of filters in succession to the select candidates.
|
public Builder(TraversalContext<BE,?> sourceContext, Query.SymmetricExtender pathExtender, Query.SymmetricExtender selectExtender, Class<E> entityClass)
public TraversalContext.Builder<BE,E> whereAll(Filter[][] filters)
filters - the sets of filters to applywhere(Filter[][]),
where(Filter...)public TraversalContext.Builder<BE,E> where(Filter[][] filters)
filters - the sets of filters, each representing a new branch in the querypublic TraversalContext.Builder<BE,E> where(Filter... filters)
filters - the set of filters to appendpublic TraversalContext.Builder<BE,E> hop(Filter[][] filters)
filters - the sets of the filters to append as path fragmentspublic TraversalContext.Builder<BE,E> hop(Filter... filters)
filters - the set of filters to append as path fragmentsCopyright © 2015 Red Hat, Inc.. All rights reserved.