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