The context for encoding values to BSON.
Nested Classes
static final class
A builder for EncoderContext
instances.
<T> void
Creates a child context based on this and serializes the value with it to the writer.
Gets a child context based on this.
boolean
Returns true if the value to be encoded is a document that will be put in a MongoDB collection.
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Create a builder.
public boolean isEncodingCollectibleDocument()
Returns true if the value to be encoded is a document that will be put in a MongoDB collection. Encoders for such documents might choose to act differently when encoding such as documents, e.g. by re-ordering the fields in some way (like encoding the _id field first).
Creates a child context based on this and serializes the value with it to the writer.
T
- the type of the value
encoder
- the encoder to encode value with
writer
- the writer to encode to
value
- the value to encode
Gets a child context based on this.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4