Class BsonUtils

java.lang.Object
liquibase.ext.mongodb.statement.BsonUtils

public final class BsonUtils extends Object
  • Field Details

    • DOCUMENT_CODEC

      public static final org.bson.codecs.DocumentCodec DOCUMENT_CODEC
    • ITEMS

      public static final String ITEMS
      See Also:
  • Constructor Details

    • BsonUtils

      public BsonUtils()
  • Method Details

    • uuidCodecRegistry

      public static org.bson.codecs.configuration.CodecRegistry uuidCodecRegistry()
    • orEmptyDocument

      public static org.bson.Document orEmptyDocument(String json)
    • orEmptyList

      public static List<org.bson.Document> orEmptyList(String json)
    • toJson

      public static String toJson(org.bson.Document document)
    • toCommand

      public static org.bson.Document toCommand(String commandName, Object commandValue, org.bson.Document options)