public class BackupUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.bson.types.BSONTimestamp |
formatTimestampFromOplog(org.bson.Document oplog) |
static String |
getCollectionName(String fileName) |
static Pattern |
getNamespacePattern(String database) |
static boolean |
hasExtension(File file,
String extension) |
static boolean |
isBsonFile(File file) |
static boolean |
isSystemCollection(String collection) |
static boolean |
isUserCollection(String collection) |
static String |
removeExtension(String path) |
public static boolean isBsonFile(File file)
public static boolean isSystemCollection(String collection)
public static boolean isUserCollection(String collection)
public static org.bson.types.BSONTimestamp formatTimestampFromOplog(org.bson.Document oplog)
Copyright © 2010–2021. All rights reserved.