Class LegacyDeleteResult<T,K>
java.lang.Object
org.graylog2.database.jackson.legacy.LegacyDeleteResult<T,K>
- All Implemented Interfaces:
WriteResult<T,K>
Deprecated.
Compatibility layer to support existing code interacting with the Mongojack 2.x API.
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyDeleteResult(com.mongodb.client.result.DeleteResult deleteResult) Deprecated. -
Method Summary
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, getUpsertedId
-
Constructor Details
-
LegacyDeleteResult
public LegacyDeleteResult(com.mongodb.client.result.DeleteResult deleteResult) 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>
-
isUpdateOfExisting
public boolean isUpdateOfExisting()Deprecated.- Specified by:
isUpdateOfExistingin interfaceWriteResult<T,K>
-
MongoCollectionsas an entrypoint for interacting with MongoDB.