class MongoQueryTranslator extends
        AbstractQueryTranslator<DBObject, DBObject, DBObject> implements
        QueryTranslator<DBObject, DBObject, DBObject> {

    @Override
    public DBObject contains(String fieldName, Object[] values) {
        int n = values.length;
        if (n == 1) {
            return eq(fieldName, values[0]);
        } else {
            DBObject[] conditions = new DBObject[n];
            for (int i = 0; i < n; i++) {
                conditions[i] = eq(fieldName, values[i]);
            }
            return and(conditions);
        }
    }

    public  MongoQueryTranslator(PropertyResolver propertyResolver);

}