Document doc = new Document("name", "MongoDB")
.append("type", "database")
.append("count", 1)
.append("versions", Arrays.asList("v3.2", "v3.0", "v2.6"))
.append("info", new Document("x", 203).append("y", 102));
"winningPlan" : { "stage" : "COLLSCAN", "filter" : { "name" : { "$eq" : "MongoDB" } }, "direction" : "forward" }, "rejectedPlans" : [
] }, "executionStats" : { "executionSuccess" : true, "nReturned" : 81850335.0, "executionTimeMillis" : 37297.0, "totalKeysExamined" : 0.0, "totalDocsExamined" : 81850335.0,
"winningPlan" : { "stage" : "FETCH", "inputStage" : { "stage" : "IXSCAN", "keyPattern" : { "name" : 1.0 }, "indexName" : "name_1", "isMultiKey" : false, "multiKeyPaths" : { "name" : [
] }, "isUnique" : false, "isSparse" : false, "isPartial" : false, "indexVersion" : 2.0, "direction" : "forward", "indexBounds" : { "name" : [ "[\"MongoDB\", \"MongoDB\"]" ] } } }, "rejectedPlans" : [
] }, "executionStats" : { "executionSuccess" : true, "nReturned" : 81850335.0, "executionTimeMillis" : 80096.0, "totalKeysExamined" : 81850335.0, "totalDocsExamined" : 81850335.0, "executionStages" : {