public class BsonUtils extends Object
| 构造器和说明 |
|---|
BsonUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
compareBsonArray(org.bson.BsonArray a1,
org.bson.BsonArray a2) |
static int |
compareBsonBinary(org.bson.BsonBinary b1,
org.bson.BsonBinary b2) |
static int |
compareBsonDocument(org.bson.BsonDocument d1,
org.bson.BsonDocument d2) |
static int |
compareBsonValue(org.bson.BsonValue o1,
org.bson.BsonValue o2) |
static int |
compareJavascriptWithScope(org.bson.BsonJavaScriptWithScope c1,
org.bson.BsonJavaScriptWithScope c2) |
static boolean |
isMaxKey(org.bson.BsonValue bsonValue) |
static boolean |
isMinKey(org.bson.BsonValue bsonValue) |
static boolean |
isNull(org.bson.BsonValue bsonValue) |
static org.bson.BsonDocument |
toBsonDocument(org.bson.BsonValue bsonValue) |
static org.bson.types.Decimal128 |
toDecimal128(org.bson.BsonValue bsonValue) |
static int |
typeOrder(org.bson.BsonValue bsonValue) |
public static int compareBsonValue(org.bson.BsonValue o1,
org.bson.BsonValue o2)
public static int compareBsonDocument(@Nonnull org.bson.BsonDocument d1, @Nonnull org.bson.BsonDocument d2)
public static int compareBsonArray(org.bson.BsonArray a1,
org.bson.BsonArray a2)
public static int compareBsonBinary(@Nonnull org.bson.BsonBinary b1, @Nonnull org.bson.BsonBinary b2)
public static int compareJavascriptWithScope(@Nonnull org.bson.BsonJavaScriptWithScope c1, @Nonnull org.bson.BsonJavaScriptWithScope c2)
public static boolean isNull(org.bson.BsonValue bsonValue)
public static boolean isMinKey(org.bson.BsonValue bsonValue)
public static boolean isMaxKey(org.bson.BsonValue bsonValue)
public static org.bson.types.Decimal128 toDecimal128(@Nonnull org.bson.BsonValue bsonValue)
public static org.bson.BsonDocument toBsonDocument(@Nonnull org.bson.BsonValue bsonValue)
public static int typeOrder(org.bson.BsonValue bsonValue)
Copyright © 2024 The Apache Software Foundation. All rights reserved.