Class LegacyUpdateResult<T,K>
java.lang.Object
org.graylog2.database.jackson.legacy.LegacyUpdateResult<T,K>
- All Implemented Interfaces:
WriteResult<T,K>
Deprecated.
Compatibility layer to support existing code interacting with the Mongojack 2.x API.
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyUpdateResult(com.mongodb.client.result.UpdateResult updateResult) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintgetN()Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mongojack.WriteResult
getSavedId, getSavedObject
-
Constructor Details
-
LegacyUpdateResult
public LegacyUpdateResult(com.mongodb.client.result.UpdateResult updateResult) Deprecated.
-
-
Method Details
-
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.