Class LegacyInsertManyResult<T,K>
java.lang.Object
org.graylog2.database.jackson.legacy.LegacyInsertManyResult<T,K>
- All Implemented Interfaces:
WriteResult<T,K>
Deprecated.
Compatibility layer to support existing code interacting with the Mongojack 2.x API.
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyInsertManyResult(org.mongojack.JacksonMongoCollection<T> collection, com.mongodb.client.result.InsertManyResult insertManyResult, Class<K> idType) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintgetN()Deprecated.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
getUpsertedId
-
Constructor Details
-
Method Details
-
getSavedObject
Deprecated.- Specified by:
getSavedObjectin 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>
-
getSavedId
Deprecated.- Specified by:
getSavedIdin interfaceWriteResult<T,K>
-
isUpdateOfExisting
public boolean isUpdateOfExisting()Deprecated.- Specified by:
isUpdateOfExistingin interfaceWriteResult<T,K>
-
MongoCollectionsas an entrypoint for interacting with MongoDB.