Class CursorPoolEntryKey


  • public class CursorPoolEntryKey
    extends Object
    Author:
    Andrea Di Cesare <andrea@softinstigate.com>
    • Constructor Detail

      • CursorPoolEntryKey

        public CursorPoolEntryKey​(com.mongodb.client.ClientSession session,
                                  com.mongodb.client.MongoCollection<org.bson.BsonDocument> collection,
                                  org.bson.BsonDocument sort,
                                  org.bson.BsonDocument filter,
                                  org.bson.BsonDocument keys,
                                  org.bson.BsonDocument hint,
                                  int skipped,
                                  long cursorId)
        Parameters:
        session -
        collection -
        sort -
        filter -
        keys -
        hint -
        skipped -
        cursorId -
      • CursorPoolEntryKey

        public CursorPoolEntryKey​(CursorPoolEntryKey key)
        Parameters:
        key -
    • Method Detail

      • getCollection

        public com.mongodb.client.MongoCollection<org.bson.BsonDocument> getCollection()
        Returns:
        the collection
      • getFilter

        public org.bson.BsonDocument getFilter()
        Returns:
        the filter
      • getSort

        public org.bson.BsonDocument getSort()
        Returns:
        the sort
      • getSkipped

        public int getSkipped()
        Returns:
        the skipped
      • getCursorId

        public long getCursorId()
        Returns:
        the cursorId
      • getKeys

        public org.bson.BsonDocument getKeys()
        Returns:
        keys
      • getHint

        public org.bson.BsonDocument getHint()
        Returns:
        the hint
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getSession

        public com.mongodb.client.ClientSession getSession()
        Returns:
        the session