public class MongoRestore extends AbstractMongoUtility
Constructor and Description |
---|
MongoRestore(MongoClient mongoClient,
String database) |
Modifier and Type | Method and Description |
---|---|
void |
restore(String inputPath) |
void |
setDrop(boolean drop) |
void |
setOplogReplay(boolean oplogReplay) |
propagateException
public MongoRestore(MongoClient mongoClient, String database)
public void restore(String inputPath) throws IOException
IOException
public void setDrop(boolean drop)
public void setOplogReplay(boolean oplogReplay)
Copyright © 2010–2021. All rights reserved.