Constructor and Description |
---|
BasicQuery(DBObject queryObject) |
BasicQuery(DBObject queryObject,
DBObject fieldsObject) |
BasicQuery(String query) |
BasicQuery(String query,
String fields) |
Modifier and Type | Method and Description |
---|---|
Query |
addCriteria(Criteria criteria) |
DBObject |
getFieldsObject() |
DBObject |
getQueryObject() |
DBObject |
getSortObject() |
void |
setSortObject(DBObject sortObject) |
public BasicQuery(String query)
public BasicQuery(DBObject queryObject)
public Query addCriteria(Criteria criteria)
addCriteria
in class Query
public DBObject getQueryObject()
getQueryObject
in class Query
public DBObject getFieldsObject()
getFieldsObject
in class Query
public DBObject getSortObject()
getSortObject
in class Query
public void setSortObject(DBObject sortObject)
Copyright © 2012. All Rights Reserved.