Class MongoDelete

java.lang.Object
org.apache.drill.metastore.mongo.operate.MongoDelete
All Implemented Interfaces:
MongoOperation

public class MongoDelete extends Object implements MongoOperation
Mongo delete operation: deletes documents based on given row filter.
  • 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 interface MongoOperation