Class MongoDelete
java.lang.Object
org.apache.drill.metastore.mongo.operate.MongoDelete
- All Implemented Interfaces:
MongoOperation
Mongo delete operation: deletes documents based on given row filter.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MongoDelete
public MongoDelete(org.bson.conversions.Bson filter)
-
-
Method Details
-
filter
public org.bson.conversions.Bson filter() -
execute
public void execute(com.mongodb.client.MongoCollection<org.bson.Document> collection) - Specified by:
execute
in interfaceMongoOperation
-