public interface Mongo
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Mongo.IFind |
| Modifier and Type | Method and Description |
|---|---|
boolean |
drop() |
<T> List<T> |
find(com.mongodb.DBObject ref,
Class<T> clazz,
int start,
int size) |
<T> List<T> |
find(Mongo.IFind find,
Class<T> clazz) |
com.mongodb.gridfs.GridFS |
getGridFS(String type) |
boolean |
insert(Object bean) |
<T> T |
query() |
boolean |
remove(com.mongodb.DBObject ref) |
boolean |
remove(String fieldName,
Object value) |
boolean |
truncate() |
boolean |
update(com.mongodb.DBObject q,
com.mongodb.DBObject o) |
boolean insert(Object bean)
<T> T query()
boolean remove(com.mongodb.DBObject ref)
boolean drop()
boolean truncate()
<T> List<T> find(Mongo.IFind find, Class<T> clazz)
boolean update(com.mongodb.DBObject q,
com.mongodb.DBObject o)
com.mongodb.gridfs.GridFS getGridFS(String type)
Copyright © 2014–2016. All rights reserved.