Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.internal.session | |
org.bson |
Contains the base BSON classes.
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
org.bson.json |
JSON serialization and deserialization.
|
Modifier and Type | Method and Description |
---|---|
void |
LevelCountingBsonWriter.writeBinaryData(BsonBinary binary) |
void |
LevelCountingBsonWriter.writeBinaryData(java.lang.String name,
BsonBinary binary) |
Modifier and Type | Method and Description |
---|---|
private BsonBinary |
ServerSessionPool.ServerSessionItemFactory.createNewServerSessionIdentifier() |
Constructor and Description |
---|
ServerSessionImpl(BsonBinary identifier) |
Modifier and Type | Method and Description |
---|---|
BsonBinary |
BsonValue.asBinary()
Gets this value as a BsonBinary if it is one, otherwise throws exception
|
(package private) static BsonBinary |
BsonBinary.clone(BsonBinary from) |
protected BsonBinary |
BsonDocumentReader.doReadBinaryData() |
protected BsonBinary |
BsonBinaryReader.doReadBinaryData() |
protected abstract BsonBinary |
AbstractBsonReader.doReadBinaryData()
Handles the logic to read binary data
|
BsonBinary |
BsonDocument.getBinary(java.lang.Object key)
Gets the value of the key if it is a BsonBinary, or throws if not.
|
BsonBinary |
BsonDocument.getBinary(java.lang.Object key,
BsonBinary defaultValue)
If the document does not contain the given key, return the given default value.
|
BsonBinary |
BsonReader.readBinaryData()
Reads BSON Binary data from the reader.
|
BsonBinary |
AbstractBsonReader.readBinaryData() |
BsonBinary |
BsonReader.readBinaryData(java.lang.String name)
Reads a BSON Binary data element from the reader.
|
BsonBinary |
AbstractBsonReader.readBinaryData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
(package private) static BsonBinary |
BsonBinary.clone(BsonBinary from) |
protected void |
BSONCallbackAdapter.doWriteBinaryData(BsonBinary value) |
protected void |
BsonDocumentWriter.doWriteBinaryData(BsonBinary value) |
protected void |
BsonBinaryWriter.doWriteBinaryData(BsonBinary value) |
protected abstract void |
AbstractBsonWriter.doWriteBinaryData(BsonBinary value)
Handles the logic of writing a
BsonBinary value |
BsonBinary |
BsonDocument.getBinary(java.lang.Object key,
BsonBinary defaultValue)
If the document does not contain the given key, return the given default value.
|
void |
BsonWriter.writeBinaryData(BsonBinary binary)
Writes a BSON Binary data element to the writer.
|
void |
AbstractBsonWriter.writeBinaryData(BsonBinary binary) |
void |
BsonWriter.writeBinaryData(java.lang.String name,
BsonBinary binary)
Writes a BSON Binary data element to the writer.
|
void |
AbstractBsonWriter.writeBinaryData(java.lang.String name,
BsonBinary binary) |
Modifier and Type | Method and Description |
---|---|
BsonBinary |
BsonBinaryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<BsonBinary> |
BsonBinaryCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonBinaryCodec.encode(BsonWriter writer,
BsonBinary value,
EncoderContext encoderContext) |
Modifier and Type | Field and Description |
---|---|
private Converter<BsonBinary> |
JsonWriterSettings.binaryConverter |
private Converter<BsonBinary> |
JsonWriterSettings.Builder.binaryConverter |
Modifier and Type | Method and Description |
---|---|
protected BsonBinary |
JsonReader.doReadBinaryData() |
private BsonBinary |
JsonReader.visitBinDataConstructor() |
private BsonBinary |
JsonReader.visitBinDataExtendedJson(java.lang.String firstKey) |
private BsonBinary |
JsonReader.visitHexDataConstructor() |
private BsonBinary |
JsonReader.visitLegacyBinaryExtendedJson(java.lang.String firstKey) |
private BsonBinary |
JsonReader.visitUUIDConstructor(java.lang.String uuidConstructorName) |
Modifier and Type | Method and Description |
---|---|
Converter<BsonBinary> |
JsonWriterSettings.getBinaryConverter()
A converter from BSON Binary values to JSON.
|
Modifier and Type | Method and Description |
---|---|
void |
ShellBinaryConverter.convert(BsonBinary value,
StrictJsonWriter writer) |
void |
LegacyExtendedJsonBinaryConverter.convert(BsonBinary value,
StrictJsonWriter writer) |
void |
ExtendedJsonBinaryConverter.convert(BsonBinary value,
StrictJsonWriter writer) |
protected void |
JsonWriter.doWriteBinaryData(BsonBinary binary) |
Modifier and Type | Method and Description |
---|---|
JsonWriterSettings.Builder |
JsonWriterSettings.Builder.binaryConverter(Converter<BsonBinary> binaryConverter)
Sets the converter from BSON Binary values to JSON.
|