Helper

public class Helper

Created by andrzej on 23.03.2016.

Methods

collectionExists

public static boolean collectionExists(MongoDatabase db, String collection)

createIndexName

public static String createIndexName(Document index)

indexCreateOrReplace

public static void indexCreateOrReplace(MongoCollection<Document> collection, Document index, IndexOptions options)