List of usage examples for com.mongodb DBCursor getCollection
public DBCollection getCollection()
From source file:com.effektif.mongo.LoggingCursor.java
License:Apache License
public LoggingCursor(MongoCollection mongoCollection, DBCursor cursor) { super(cursor.getCollection(), cursor.getQuery(), cursor.getKeysWanted(), cursor.getReadPreference()); this.mongoCollection = mongoCollection; this.cursor = cursor; }