Class Helper

java.lang.Object
tigase.mongodb.Helper

public class Helper extends Object
Created by andrzej on 23.03.2016.
  • Constructor Details

    • Helper

      public Helper()
  • Method Details

    • collectionExists

      public static boolean collectionExists(com.mongodb.client.MongoDatabase db, String collection)
    • createIndexName

      public static String createIndexName(org.bson.Document index)
    • indexCreateOrReplace

      public static void indexCreateOrReplace(com.mongodb.client.MongoCollection<org.bson.Document> collection, org.bson.Document index, com.mongodb.client.model.IndexOptions options)