File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
driver-async/src/main/com/mongodb/async/client
driver/src/main/com/mongodb/client Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 4343
4444/**
4545 * The MongoCollection interface.
46- * <p>
47- Note: Additions to this interface will not be considered to break binary compatibility.
46+ *
47+ * <p>Note: Additions to this interface will not be considered to break binary compatibility.</p>
48+ *
49+ * <p>MongoCollection is generic allowing for different types to represent documents. Any custom classes must have a
50+ * {@link org.bson.codecs.Codec} registered in the {@link CodecRegistry}. The default {@code CodecRegistry} includes built-in support for:
51+ * {@link org.bson.BsonDocument} and {@link Document}.
52+ * </p>
4853 *
4954 * @param <TDocument> The type that this collection will encode documents from and decode documents to.
5055 * @since 3.0
Original file line number Diff line number Diff line change 4545 *
4646 * <p>Note: Additions to this interface will not be considered to break binary compatibility.</p>
4747 *
48+ * <p>MongoCollection is generic allowing for different types to represent documents. Any custom classes must have a
49+ * {@link org.bson.codecs.Codec} registered in the {@link CodecRegistry}. The default {@code CodecRegistry} includes built-in support for:
50+ * {@link org.bson.BsonDocument}, {@link Document} and {@link com.mongodb.DBObject}.
51+ * </p>
52+ *
4853 * @param <TDocument> The type that this collection will encode documents from and decode documents to.
4954 * @since 3.0
5055 */
You can’t perform that action at this time.
0 commit comments