User: WilliamZhu Date: 12-10-17 Time: 下午4:57
The +Criteria+ class is the core object needed in MongoSupport to retrieve objects from the database. It is a DSL that essentially sets up the selector and options arguments that get passed on to a
Mongo Collection in the Java driver. Each method on the +Criteria+ returns self to they can be chained in order to create a readable criterion to be executed against the database.
Example setup:
```java Criteria criteria = new Criteria() ```
```java criteria.select("filed").where(map("field","value")).skip(20).limit(20) ```
```java
criteria.execute() ```