public class AdvancedQueryBuilder extends AbstractLogEnabled implements Component
Query
object from advanced search criteria (as a AbstractTreeNode
).Constructor and Description |
---|
AdvancedQueryBuilder() |
Modifier and Type | Method and Description |
---|---|
private Query |
_logicalQuery(Stream<Query> queries,
Query.LogicalOperator operator) |
<T> Query |
build(AbstractTreeNode<T> tree,
Function<T,Query> queryMapper)
Builds the
Query object represented by the given tree of advanced search criteria. |
getLogger, setLogger
public AdvancedQueryBuilder()
public <T> Query build(AbstractTreeNode<T> tree, Function<T,Query> queryMapper)
Query
object represented by the given tree of advanced search criteria.private Query _logicalQuery(Stream<Query> queries, Query.LogicalOperator operator)