Interface Query.Builder
- All Superinterfaces:
AbstractBuilder<Query>,Builder<Query,,Query.Builder> ResettableBuilder<Query,Query.Builder>
- Enclosing interface:
Query
-
Method Summary
Modifier and TypeMethodDescriptionBuilds a new query which combines the queries in given order.build()Builds the composite query.Builds a new query matching any of the queries.
-
Method Details
-
or
Builds a new query matching any of the queries.- Parameters:
queries- The queries to match- Returns:
- This builder
-
and
Builds a new query which combines the queries in given order.The resulting inventory may contain slots multiple times.
- Parameters:
queries- The queries to combine- Returns:
- This builder
-
build
Query build()Builds the composite query.- Specified by:
buildin interfaceAbstractBuilder<Query>- Returns:
- The new composity query.
-