Package org.restheart.mongodb.db
Class CursorPoolEntryKey
- java.lang.Object
-
- org.restheart.mongodb.db.CursorPoolEntryKey
-
public class CursorPoolEntryKey extends Object
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
-
Constructor Summary
Constructors Constructor Description 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)CursorPoolEntryKey(CursorPoolEntryKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.mongodb.client.MongoCollection<org.bson.BsonDocument>getCollection()longgetCursorId()org.bson.BsonDocumentgetFilter()org.bson.BsonDocumentgetHint()org.bson.BsonDocumentgetKeys()com.mongodb.client.ClientSessiongetSession()intgetSkipped()org.bson.BsonDocumentgetSort()inthashCode()StringtoString()
-
-
-
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
-
getSession
public com.mongodb.client.ClientSession getSession()
- Returns:
- the session
-
-