public class SharedExtensionsKt
@NotNull
public static com.mongodb.client.model.IndexModel IndexModel(@NotNull
com.mongodb.client.model.IndexModel $this$IndexModel,
@NotNull
java.lang.String keys,
@NotNull
com.mongodb.client.model.IndexOptions options)
Construct an instance with the given keys and options.
keys - the index keysoptions - the index options@NotNull
public static java.lang.String getJson(@NotNull
java.lang.Object $this$json)
Get the extended json representation of this object
See Mongo extended json format for details
@NotNull
public static org.bson.BsonDocument getBson(@NotNull
java.lang.String $this$bson)
Get the org.bson.BsonValue of this string.
Exception - if the string content is not a valid json document format@NotNull
public static java.lang.String formatJson(@NotNull
java.lang.String $this$formatJson)
Format this string to remove space(s) between $ and next char
@Nullable
public static <T> T findValue(@NotNull
org.bson.Document $this$findValue,
@NotNull
java.lang.String path)
Find the value for the specified path from the document.