Class MongoOperation
- java.lang.Object
-
- com.lordofthejars.nosqlunit.core.AbstractCustomizableDatabaseOperation<MongoDbConnectionCallback,com.mongodb.MongoClient>
-
- com.lordofthejars.nosqlunit.mongodb.MongoOperation
-
- All Implemented Interfaces:
com.lordofthejars.nosqlunit.core.DatabaseOperation<com.mongodb.MongoClient>
public final class MongoOperation extends com.lordofthejars.nosqlunit.core.AbstractCustomizableDatabaseOperation<MongoDbConnectionCallback,com.mongodb.MongoClient>
-
-
Constructor Summary
Constructors Modifier Constructor Description MongoOperation(MongoDbConfiguration mongoDbConfiguration)
protected
MongoOperation(com.mongodb.MongoClient mongo, MongoDbConfiguration mongoDbConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mongodb.MongoClient
connectionManager()
boolean
databaseIs(java.io.InputStream contentStream)
void
deleteAll()
void
insert(java.io.InputStream contentStream)
-
-
-
Constructor Detail
-
MongoOperation
protected MongoOperation(com.mongodb.MongoClient mongo, MongoDbConfiguration mongoDbConfiguration)
-
MongoOperation
public MongoOperation(MongoDbConfiguration mongoDbConfiguration)
-
-