Package com.gigaspaces.internal.query
Class SpaceQueryBuilder
java.lang.Object
com.gigaspaces.internal.query.SpaceQueryBuilder
Provides methods to create various space queries.
- Since:
- 7.1
- Author:
- Niv Ingberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ISpaceQuerycreate(Class<?> entryClass, ISpacePredicate predicate) Creates a space query using the specified class and predicate.static ISpaceQuerycreate(Class<?> entryClass, ISpacePredicate... predicates) Creates a space query using the specified class and predicates.
-
Constructor Details
-
SpaceQueryBuilder
public SpaceQueryBuilder()
-
-
Method Details
-
create
Creates a space query using the specified class and predicate.- Parameters:
entryClass- Class to query.predicate- Predicate for matching entries.- Returns:
- the created space query
-
create
Creates a space query using the specified class and predicates. The predicates are concatenated in an All predicate.- Parameters:
entryClass- Class to query.predicates- Predicates to match.- Returns:
- the created space query
-