Package | Description |
---|---|
org.bson |
This package contains bson classes required for the driver
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
org.bson.json |
JSON serialization and deserialization.
|
Modifier and Type | Method and Description |
---|---|
BsonBinary |
BsonValue.asBinary()
Gets this value as a Binary if it is one, otherwise throws exception
|
protected BsonBinary |
BsonBinaryReader.doReadBinaryData() |
protected abstract BsonBinary |
AbstractBsonReader.doReadBinaryData()
Handles the logic to read binary data
|
protected BsonBinary |
BsonDocumentReader.doReadBinaryData() |
BsonBinary |
BsonDocument.getBinary(Object key)
Gets the value of the key if it is a Binary, or throws if not.
|
BsonBinary |
BsonDocument.getBinary(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(String name)
Reads a BSON Binary data element from the reader.
|
BsonBinary |
AbstractBsonReader.readBinaryData(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
BsonDocumentWriter.doWriteBinaryData(BsonBinary value) |
protected abstract void |
AbstractBsonWriter.doWriteBinaryData(BsonBinary value)
Handles the logic of writing a
BsonBinary value |
protected void |
BsonBinaryWriter.doWriteBinaryData(BsonBinary value) |
BsonBinary |
BsonDocument.getBinary(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(String name,
BsonBinary binary)
Writes a BSON Binary data element to the writer.
|
void |
AbstractBsonWriter.writeBinaryData(String name,
BsonBinary binary) |
Modifier and Type | Method and Description |
---|---|
BsonBinary |
BsonBinaryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
Class<BsonBinary> |
BsonBinaryCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonBinaryCodec.encode(BsonWriter writer,
BsonBinary value,
EncoderContext encoderContext) |
Modifier and Type | Method and Description |
---|---|
protected BsonBinary |
JsonReader.doReadBinaryData() |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonWriter.doWriteBinaryData(BsonBinary binary) |
Copyright © 2016. All Rights Reserved.