public interface CollectionCallback<T>
MongoCollection| Modifier and Type | Method and Description |
|---|---|
T |
doInCollection(com.mongodb.client.MongoCollection<org.bson.Document> collection) |
T doInCollection(com.mongodb.client.MongoCollection<org.bson.Document> collection) throws com.mongodb.MongoException, DataAccessException
collection - never null.com.mongodb.MongoExceptionDataAccessExceptionCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.