@Override @SuppressWarnings("unchecked") public Map<String, Object> explain(final FindOptions options) { return prepareCursor(options).explain().toMap(); }
/** * Returns an object containing basic information about the execution of the * query that created this cursor This creates a <code>DBObject</code> with * the key/value pairs: "cursor" : cursor type "nScanned" : number of * records examined by the database for this query "n" : the number of * records that the database returned "millis" : how long it took the * database to execute the query * * @return a <code>DBObject</code> */ public DBObject explain() { return cursor.explain(); }
@Override public DBObject explain() { return cursor.explain(); }
@Override public DBObject explain() { return cursor.explain(); }
/** * Returns an object containing basic information about the * execution of the query that created this cursor * This creates a <code>DBObject</code> with the key/value pairs: * "cursor" : cursor type * "nScanned" : number of records examined by the database for this query * "n" : the number of records that the database returned * "millis" : how long it took the database to execute the query * * @return a <code>DBObject</code> */ public DBObject explain() { return cursor.explain(); }
/** * Returns an object containing basic information about the * execution of the query that created this cursor * This creates a <code>DBObject</code> with the key/value pairs: * "cursor" : cursor type * "nScanned" : number of records examined by the database for this query * "n" : the number of records that the database returned * "millis" : how long it took the database to execute the query * * @return a <code>DBObject</code> */ public DBObject explain() { return cursor.explain(); }
@Override @SuppressWarnings("unchecked") public Map<String, Object> explain(final FindOptions options) { return prepareCursor(options).explain().toMap(); }
DBObject plan=cursor.explain(); JsonNode jsonPlan=DocTranslator.rawObjectToJson(plan); if(mongoQuery!=null)
members.add(new MongoEmbeddedObjectResource(this, dbCursor.explain())); } else { Sorting sorting = ctx.sorting();