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 |
---|---|
BsonRegularExpression |
BsonValue.asRegularExpression()
Gets this value as a RegularExpression if it is one, otherwise throws exception
|
protected BsonRegularExpression |
BsonBinaryReader.doReadRegularExpression() |
protected abstract BsonRegularExpression |
AbstractBsonReader.doReadRegularExpression()
Handles the logic to read a regular expression
|
protected BsonRegularExpression |
BsonDocumentReader.doReadRegularExpression() |
BsonRegularExpression |
BsonDocument.getRegularExpression(Object key)
Gets the value of the key if it is a RegularExpression, 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 |
BsonReader.readRegularExpression()
Reads a BSON regular expression from the reader.
|
BsonRegularExpression |
AbstractBsonReader.readRegularExpression() |
BsonRegularExpression |
BsonReader.readRegularExpression(String name)
Reads a BSON regular expression element from the reader.
|
BsonRegularExpression |
AbstractBsonReader.readRegularExpression(String name) |
Modifier and Type | Method and Description |
---|---|
void |
BsonDocumentWriter.doWriteRegularExpression(BsonRegularExpression value) |
protected abstract void |
AbstractBsonWriter.doWriteRegularExpression(BsonRegularExpression value)
Handles the logic of writing a regular expression
|
void |
BsonBinaryWriter.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 |
BsonWriter.writeRegularExpression(BsonRegularExpression regularExpression)
Writes a BSON regular expression to the writer.
|
void |
AbstractBsonWriter.writeRegularExpression(BsonRegularExpression regularExpression) |
void |
BsonWriter.writeRegularExpression(String name,
BsonRegularExpression regularExpression)
Writes a BSON regular expression element to the writer.
|
void |
AbstractBsonWriter.writeRegularExpression(String name,
BsonRegularExpression regularExpression) |
Modifier and Type | Method and Description |
---|---|
BsonRegularExpression |
BsonRegularExpressionCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
Class<BsonRegularExpression> |
BsonRegularExpressionCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonRegularExpressionCodec.encode(BsonWriter writer,
BsonRegularExpression value,
EncoderContext encoderContext) |
Modifier and Type | Method and Description |
---|---|
protected BsonRegularExpression |
JsonReader.doReadRegularExpression() |
Modifier and Type | Method and Description |
---|---|
void |
JsonWriter.doWriteRegularExpression(BsonRegularExpression regularExpression) |
Copyright © 2016. All Rights Reserved.