Uses of Class
org.bson.BsonRegularExpression
-
Packages that use BsonRegularExpression 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 BsonRegularExpression in org.bson
Methods in org.bson that return BsonRegularExpression Modifier and Type Method Description BsonRegularExpression
BsonValue. asRegularExpression()
Gets this value as a BsonRegularExpression if it is one, otherwise throws exceptionprotected abstract BsonRegularExpression
AbstractBsonReader. doReadRegularExpression()
Handles the logic to read a regular expressionprotected BsonRegularExpression
BsonBinaryReader. doReadRegularExpression()
protected BsonRegularExpression
BsonDocumentReader. doReadRegularExpression()
BsonRegularExpression
BsonDocument. getRegularExpression(Object key)
Gets the value of the key if it is a BsonRegularExpression, or throws if not.BsonRegularExpression
BsonDocument. getRegularExpression(Object key, BsonRegularExpression defaultValue)
If the document does not contain the given key, return the given default value.BsonRegularExpression
AbstractBsonReader. readRegularExpression()
BsonRegularExpression
AbstractBsonReader. readRegularExpression(String name)
BsonRegularExpression
BsonReader. readRegularExpression()
Reads a BSON regular expression from the reader.BsonRegularExpression
BsonReader. readRegularExpression(String name)
Reads a BSON regular expression element from the reader.Methods in org.bson with parameters of type BsonRegularExpression Modifier and Type Method Description protected abstract void
AbstractBsonWriter. doWriteRegularExpression(BsonRegularExpression value)
Handles the logic of writing a regular expressionvoid
BsonBinaryWriter. doWriteRegularExpression(BsonRegularExpression value)
void
BsonDocumentWriter. doWriteRegularExpression(BsonRegularExpression value)
BsonRegularExpression
BsonDocument. getRegularExpression(Object key, BsonRegularExpression defaultValue)
If the document does not contain the given key, return the given default value.void
AbstractBsonWriter. writeRegularExpression(String name, BsonRegularExpression regularExpression)
void
AbstractBsonWriter. writeRegularExpression(BsonRegularExpression regularExpression)
void
BsonWriter. writeRegularExpression(String name, BsonRegularExpression regularExpression)
Writes a BSON regular expression element to the writer.void
BsonWriter. writeRegularExpression(BsonRegularExpression regularExpression)
Writes a BSON regular expression to the writer. -
Uses of BsonRegularExpression in org.bson.codecs
Methods in org.bson.codecs that return BsonRegularExpression Modifier and Type Method Description BsonRegularExpression
BsonRegularExpressionCodec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type BsonRegularExpression Modifier and Type Method Description Class<BsonRegularExpression>
BsonRegularExpressionCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type BsonRegularExpression Modifier and Type Method Description void
BsonRegularExpressionCodec. encode(BsonWriter writer, BsonRegularExpression value, EncoderContext encoderContext)
-
Uses of BsonRegularExpression in org.bson.json
Methods in org.bson.json that return BsonRegularExpression Modifier and Type Method Description protected BsonRegularExpression
JsonReader. doReadRegularExpression()
Methods in org.bson.json that return types with arguments of type BsonRegularExpression Modifier and Type Method Description Converter<BsonRegularExpression>
JsonWriterSettings. getRegularExpressionConverter()
A converter from BSON RegularExpression values to JSON.Methods in org.bson.json with parameters of type BsonRegularExpression Modifier and Type Method Description void
JsonWriter. doWriteRegularExpression(BsonRegularExpression regularExpression)
Method parameters in org.bson.json with type arguments of type BsonRegularExpression Modifier and Type Method Description JsonWriterSettings.Builder
JsonWriterSettings.Builder. regularExpressionConverter(Converter<BsonRegularExpression> regularExpressionConverter)
Sets the converter from BSON Regular Expression values to JSON.
-