Toggle navigation
Home
com.mongodb.DBCollection to com.mongodb.client.MongoCollection<com.mongodb.BasicDBObject>
No. of Instances - 20
No. of Commits - 3
No. of Projects - {'camel'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Add or Remove Method invocation
endpoint.getDbCollection()
to
endpoint.getMongoCollection()
dbCol.findOne(o)
to
dbCol.find(o).first()
dbCol.find(query,fieldFilter)
to
dbCol.find(new BasicDBObject()).projection(fieldFilter)
dbCol.findOne(o)
to
dbCol.find(o).first()
dbCol.aggregate((DBObject)queryList.get(0),queryList.subList(1,queryList.size()).toArray(new BasicDBObject[queryList.size() - 1]))
to
dbCol.aggregate(queryList)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.createCollection(cappedTestCollectionName,BasicDBObjectBuilder.start().add("capped",true).add("size",1000000000).add("max",1000).get())
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.getCollection(cappedTestCollectionName)
to
db.getCollection(cappedTestCollectionName,BasicDBObject.class)
db.getCollection(MongoDbTailTrackingConfig.DEFAULT_COLLECTION)
to
db.getCollection(MongoDbTailTrackingConfig.DEFAULT_COLLECTION,BasicDBObject.class)
trackingCol.findOne(new BasicDBObject("persistentId","darwin"))
to
trackingCol.find(new BasicDBObject("persistentId","darwin")).first()
trackingCol.findOne(new BasicDBObject("persistentId","darwin"))
to
trackingCol.find(new BasicDBObject("persistentId","darwin")).first()
db.getCollection(dynamicCollectionName)
to
db.getCollection(dynamicCollectionName,BasicDBObject.class)
db.getCollection(dynamicCollectionName)
to
db.getCollection(dynamicCollectionName,BasicDBObject.class)
db.getCollection(testCollectionName)
to
db.getCollection(testCollectionName,BasicDBObject.class)
db.getCollection(testCollectionName)
to
db.getCollection(testCollectionName,BasicDBObject.class)
Rename Method invocation
getDbCollection
to
getMongoCollection
insert
to
insertOne
insert
to
insertMany
insert
to
insertOne
insert
to
insertOne
insert
to
insertOne
insert
to
insertOne
insert
to
insertOne
insert
to
insertOne
insert
to
insertOne
Cascading Type Change (Different)
DBObject
to
BasicDBObject