public interface DocumentCallbackHandler
MongoTemplate for processing documents returned from a MongoDB query on a per-document
basis. Implementations of this interface perform the actual work of prcoessing each document but don't need to worry
about exception handling. s will be caught and translated by the calling MongoTemplate An
DocumentCallbackHandler is typically stateful: It keeps the result state within the object, to be available later for
later inspection.| Modifier and Type | Method and Description |
|---|---|
void |
processDocument(org.bson.Document document) |
void processDocument(org.bson.Document document)
throws com.mongodb.MongoException,
DataAccessException
com.mongodb.MongoExceptionDataAccessExceptionCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.