Uses of Class
org.bson.BsonBinary
-
Packages that use BsonBinary Package Description 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. -
-
Uses of BsonBinary in org.bson
Methods in org.bson that return BsonBinary Modifier and Type Method Description BsonBinary
BsonValue. asBinary()
Gets this value as a BsonBinary if it is one, otherwise throws exceptionprotected abstract BsonBinary
AbstractBsonReader. doReadBinaryData()
Handles the logic to read binary dataprotected BsonBinary
BsonBinaryReader. doReadBinaryData()
protected BsonBinary
BsonDocumentReader. doReadBinaryData()
BsonBinary
BsonDocument. getBinary(Object key)
Gets the value of the key if it is a BsonBinary, 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
AbstractBsonReader. readBinaryData()
BsonBinary
AbstractBsonReader. readBinaryData(String name)
BsonBinary
BsonReader. readBinaryData()
Reads BSON Binary data from the reader.BsonBinary
BsonReader. readBinaryData(String name)
Reads a BSON Binary data element from the reader.Methods in org.bson with parameters of type BsonBinary Modifier and Type Method Description protected abstract void
AbstractBsonWriter. doWriteBinaryData(BsonBinary value)
Handles the logic of writing aBsonBinary
valueprotected void
BsonBinaryWriter. doWriteBinaryData(BsonBinary value)
protected void
BsonDocumentWriter. 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
AbstractBsonWriter. writeBinaryData(String name, BsonBinary binary)
void
AbstractBsonWriter. writeBinaryData(BsonBinary binary)
void
BsonWriter. writeBinaryData(String name, BsonBinary binary)
Writes a BSON Binary data element to the writer.void
BsonWriter. writeBinaryData(BsonBinary binary)
Writes a BSON Binary data element to the writer. -
Uses of BsonBinary in org.bson.codecs
Methods in org.bson.codecs that return BsonBinary Modifier and Type Method Description BsonBinary
BsonBinaryCodec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type BsonBinary Modifier and Type Method Description Class<BsonBinary>
BsonBinaryCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type BsonBinary Modifier and Type Method Description void
BsonBinaryCodec. encode(BsonWriter writer, BsonBinary value, EncoderContext encoderContext)
-
Uses of BsonBinary in org.bson.json
Methods in org.bson.json that return BsonBinary Modifier and Type Method Description protected BsonBinary
JsonReader. doReadBinaryData()
Methods in org.bson.json that return types with arguments of type BsonBinary Modifier and Type Method Description Converter<BsonBinary>
JsonWriterSettings. getBinaryConverter()
A converter from BSON Binary values to JSON.Methods in org.bson.json with parameters of type BsonBinary Modifier and Type Method Description protected void
JsonWriter. doWriteBinaryData(BsonBinary binary)
Method parameters in org.bson.json with type arguments of type BsonBinary Modifier and Type Method Description JsonWriterSettings.Builder
JsonWriterSettings.Builder. binaryConverter(Converter<BsonBinary> binaryConverter)
Sets the converter from BSON Binary values to JSON.
-