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.
|
Modifier and Type | Method and Description |
---|---|
BsonRegularExpression |
BsonValue.asRegularExpression()
Gets this value as a BsonRegularExpression if it is one, otherwise throws exception
|
protected BsonRegularExpression |
BsonDocumentReader.doReadRegularExpression() |
protected abstract BsonRegularExpression |
AbstractBsonReader.doReadRegularExpression()
Handles the logic to read a regular expression
|
protected BsonRegularExpression |
BsonBinaryReader.doReadRegularExpression() |
BsonRegularExpression |
BsonDocument.getRegularExpression(java.lang.Object key)
Gets the value of the key if it is a BsonRegularExpression, or throws if not.
|
BsonRegularExpression |
BsonDocument.getRegularExpression(java.lang.Object key,
BsonRegularExpression defaultValue)
If the document does not contain the given key, return the given default value.
|
BsonRegularExpression |
AbstractBsonReader.readRegularExpression() |
BsonRegularExpression |
BsonReader.readRegularExpression()
Reads a BSON regular expression from the reader.
|
BsonRegularExpression |
AbstractBsonReader.readRegularExpression(java.lang.String name) |
BsonRegularExpression |
BsonReader.readRegularExpression(java.lang.String name)
Reads a BSON regular expression element from the reader.
|
Modifier and Type | Method and Description |
---|---|
void |
BsonBinaryWriter.doWriteRegularExpression(BsonRegularExpression value) |
void |
BsonDocumentWriter.doWriteRegularExpression(BsonRegularExpression value) |
protected abstract void |
AbstractBsonWriter.doWriteRegularExpression(BsonRegularExpression value)
Handles the logic of writing a regular expression
|
void |
BSONCallbackAdapter.doWriteRegularExpression(BsonRegularExpression value) |
BsonRegularExpression |
BsonDocument.getRegularExpression(java.lang.Object key,
BsonRegularExpression defaultValue)
If the document does not contain the given key, return the given default value.
|
void |
BsonWriter.writeRegularExpression(BsonRegularExpression regularExpression)
Writes a BSON regular expression to the writer.
|
void |
AbstractBsonWriter.writeRegularExpression(BsonRegularExpression regularExpression) |
void |
BsonWriter.writeRegularExpression(java.lang.String name,
BsonRegularExpression regularExpression)
Writes a BSON regular expression element to the writer.
|
void |
AbstractBsonWriter.writeRegularExpression(java.lang.String name,
BsonRegularExpression regularExpression) |
Modifier and Type | Method and Description |
---|---|
BsonRegularExpression |
BsonRegularExpressionCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<BsonRegularExpression> |
BsonRegularExpressionCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonRegularExpressionCodec.encode(BsonWriter writer,
BsonRegularExpression value,
EncoderContext encoderContext) |
private static int |
PatternCodec.getOptionsAsInt(BsonRegularExpression regularExpression) |
Modifier and Type | Method and Description |
---|---|
protected BsonRegularExpression |
JsonReader.doReadRegularExpression() |
private BsonRegularExpression |
JsonReader.visitRegularExpressionConstructor() |
private BsonRegularExpression |
JsonReader.visitRegularExpressionExtendedJson() |
Modifier and Type | Method and Description |
---|---|
void |
JsonWriter.doWriteRegularExpression(BsonRegularExpression regularExpression) |