public class BsonUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
static <V> Optional<V> | 
first(Optional<V>... values)  | 
static Optional<org.bson.BsonValue> | 
get(org.bson.BsonDocument doc,
   String... path)  | 
static Optional<Iterable<org.bson.BsonValue>> | 
getArray(org.bson.BsonDocument doc,
        String... path)  | 
static Optional<Boolean> | 
getBool(org.bson.BsonDocument doc,
       String... path)  | 
static Optional<org.bson.BsonDocument> | 
getDocument(org.bson.BsonDocument doc,
           String... path)  | 
static Optional<Double> | 
getDouble(org.bson.BsonDocument doc,
         String... path)  | 
static Optional<Integer> | 
getInt32(org.bson.BsonDocument doc,
        String... path)  | 
static Optional<Long> | 
getInt64(org.bson.BsonDocument doc,
        String... path)  | 
static Optional<String> | 
getString(org.bson.BsonDocument doc,
         String... path)  | 
static Optional<java.time.Instant> | 
getTime(org.bson.BsonDocument doc,
       String... path)  | 
Copyright © 2021. All rights reserved.