public class Document extends Object implements Map, Serializable
| Constructor and Description |
|---|
Document() |
Document(Map<String,Object> values) |
Document(Object object) |
Document(String key,
Object value) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Document()
public Document(Object object)
public void putAll(com.google.gson.JsonObject value)
public boolean containsKey(Object member)
containsKey in interface Mappublic boolean containsProjection(String member)
public int getInteger(String member, int defaultValue)
public long getLong(String member)
public boolean getBoolean(String member, boolean defaultValue)
public Map toMap()
public <T> T toObject(Class<T> type)
public String toJson()
public String toPrettyJson()
public int hashCode()
public boolean equals(Object other)
public static Object parseListOrDocument(String json) throws Exception
Exceptionpublic boolean containsValue(Object value)
containsValue in interface Mappublic Collection values()
public List<String> getProperties(Collection<String> fieldNames)
public String toCSV()
public void applyUpdate(Document amendments)
Copyright © 2021. All rights reserved.