Uses of Class
org.bson.Document
-
Packages that use Document Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs.org.bson.types Contains classes implementing various BSON types. -
-
Uses of Document in org.bson
Methods in org.bson that return Document Modifier and Type Method Description Document
Document. append(String key, Object value)
Put the given key/value pair into this Document and return this.static Document
Document. parse(String json)
Parses a string in MongoDB Extended JSON format to aDocument
static Document
Document. parse(String json, Decoder<Document> decoder)
Parses a string in MongoDB Extended JSON format to aDocument
Method parameters in org.bson with type arguments of type Document Modifier and Type Method Description static Document
Document. parse(String json, Decoder<Document> decoder)
Parses a string in MongoDB Extended JSON format to aDocument
String
Document. toJson(Encoder<Document> encoder)
Gets a JSON representation of this documentString
Document. toJson(JsonWriterSettings writerSettings, Encoder<Document> encoder)
Gets a JSON representation of this document -
Uses of Document in org.bson.codecs
Methods in org.bson.codecs that return Document Modifier and Type Method Description Document
DocumentCodec. decode(BsonReader reader, DecoderContext decoderContext)
Document
DocumentCodec. generateIdIfAbsentFromDocument(Document document)
Methods in org.bson.codecs that return types with arguments of type Document Modifier and Type Method Description Class<Document>
DocumentCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type Document Modifier and Type Method Description boolean
DocumentCodec. documentHasId(Document document)
void
DocumentCodec. encode(BsonWriter writer, Document document, EncoderContext encoderContext)
Document
DocumentCodec. generateIdIfAbsentFromDocument(Document document)
BsonValue
DocumentCodec. getDocumentId(Document document)
Constructor parameters in org.bson.codecs with type arguments of type Document Constructor Description CodeWithScopeCodec(Codec<Document> documentCodec)
Creates a new CodeWithScopeCodec. -
Uses of Document in org.bson.types
Methods in org.bson.types that return Document Modifier and Type Method Description Document
CodeWithScope. getScope()
Gets the scope, which is is a mapping from identifiers to values, representing the scope in which the code should be evaluated.Constructors in org.bson.types with parameters of type Document Constructor Description CodeWithScope(String code, Document scope)
Construct an instance.
-