Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-924

Deprecate protected fields in com.mongodb.gridfs.{GridFS,GridFSFile}

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.12.0
    • None
    • API

    Description

      Fields to be deprecated:
      GridFS

      • protected final DB _db;
      • protected final String _bucketName;
      • protected final DBCollection _filesCollection;
      • protected final DBCollection _chunkCollection;

      GridFSFile

      • protected GridFS _fs;

      Following methods will be added to use instead:

      • GridFS.getFilesCollection()
      • GridFS.getChunksCollection()
      • GridFSFile.getGridFS()

      For other deprecated fields there are getters already.

      Attachments

        Activity

          People

            Unassigned Unassigned
            uladzimir_mihura@epam.com Uladzimir Mihura
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: