Class MongoClientDeleteResult
java.lang.Object
io.vertx.ext.mongo.MongoClientDeleteResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe default value is 0, signifying no document is removedstatic final StringConstant to be used when storing and retrieving Json for documents removed. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorMongoClientDeleteResult(long docRemovedCount) Constructor that specify the number of documents removedMongoClientDeleteResult(JsonObject mongoClientDeleteResultJson) Constructor form JSONMongoClientDeleteResult(MongoClientDeleteResult otherMongoClientDeleteResultCopy) Copy constructor -
Method Summary
-
Field Details
-
DEFAULT_REMOVEDCOUNT
public static final long DEFAULT_REMOVEDCOUNTThe default value is 0, signifying no document is removed- See Also:
-
REMOVED_COUNT
Constant to be used when storing and retrieving Json for documents removed.- See Also:
-
-
Constructor Details
-
MongoClientDeleteResult
public MongoClientDeleteResult()Default constructor -
MongoClientDeleteResult
public MongoClientDeleteResult(long docRemovedCount) Constructor that specify the number of documents removed- Parameters:
docRemovedCount-
-
MongoClientDeleteResult
Copy constructor- Parameters:
otherMongoClientDeleteResultCopy- the one to copy
-
MongoClientDeleteResult
Constructor form JSON- Parameters:
mongoClientDeleteResultJson- the JSON
-
-
Method Details
-
toJson
-
getRemovedCount
public long getRemovedCount()Get the number of removed documents- Returns:
- number of removed documents
-
equals
-
hashCode
-