Class Criteria

java.lang.Object
org.springframework.data.mongodb.core.query.Criteria
All Implemented Interfaces:
CriteriaDefinition
Direct Known Subclasses:
GridFsCriteria

public class Criteria extends Object implements CriteriaDefinition
Central class for creating queries. It follows a fluent API style so that you can easily chain together multiple criteria. Static import of the Criteria.where method improves readability.
Author:
Thomas Risberg, Oliver Gierke, Thomas Darimont, Christoph Strobl, Mark Paluch, Andreas Zink, Ziemowit Stolarczyk, Clément Petit, James McNee