Constructor and Description |
---|
MongoDBVCursor(com.mongodb.DBCursor delegate)
Constructs a new cursor (without a filter)
|
MongoDBVCursor(com.mongodb.DBCursor delegate,
Filter<com.mongodb.DBObject> filter)
Constructs a new cursor
|
public static VCursor EMPTY
public MongoDBVCursor(com.mongodb.DBCursor delegate)
delegate
- the actual MongoDB cursorpublic MongoDBVCursor(com.mongodb.DBCursor delegate, Filter<com.mongodb.DBObject> filter)
delegate
- the actual MongoDB cursorfilter
- a filter which decides if a DBObject should be included
into the cursor's result or not (can be null)