Class LegacyUpdateOneResult<T,K>
java.lang.Object
org.graylog2.database.jackson.legacy.LegacyUpdateOneResult<T,K>
- All Implemented Interfaces:
WriteResult<T,K>
Deprecated.
Compatibility layer to support existing code interacting with the Mongojack 2.x API.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.mongojack.JacksonMongoCollection<T>Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetN()Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.
-
Field Details
-
collection
Deprecated.
-
-
Constructor Details
-
Method Details
-
getSavedObject
Deprecated.- Specified by:
getSavedObjectin interfaceWriteResult<T,K>
-
getSavedId
Deprecated.- Specified by:
getSavedIdin interfaceWriteResult<T,K>
-
getN
public int getN()Deprecated.- Specified by:
getNin interfaceWriteResult<T,K>
-
wasAcknowledged
public boolean wasAcknowledged()Deprecated.- Specified by:
wasAcknowledgedin interfaceWriteResult<T,K>
-
getUpsertedId
Deprecated.- Specified by:
getUpsertedIdin interfaceWriteResult<T,K>
-
isUpdateOfExisting
public boolean isUpdateOfExisting()Deprecated.- Specified by:
isUpdateOfExistingin interfaceWriteResult<T,K>
-
MongoCollectionsas an entrypoint for interacting with MongoDB.