@groovy.transform.CompileStatic class CodecExtensions extends java.lang.Object implements org.bson.codecs.configuration.CodecProvider
Additional org.bson.codecs.Codec extensions. This class implements {@CodecProvider} and integrates with the {@CodecRegistry} to make it easier to convert objects to and from BSON documents
Modifiers | Name | Description |
---|---|---|
class |
CodecExtensions.1 |
|
class |
CodecExtensions.10 |
|
class |
CodecExtensions.11 |
|
class |
CodecExtensions.12 |
|
class |
CodecExtensions.13 |
|
class |
CodecExtensions.14 |
|
class |
CodecExtensions.15 |
|
class |
CodecExtensions.16 |
|
class |
CodecExtensions.17 |
|
class |
CodecExtensions.18 |
|
class |
CodecExtensions.2 |
|
class |
CodecExtensions.3 |
|
class |
CodecExtensions.4 |
|
class |
CodecExtensions.5 |
|
class |
CodecExtensions.6 |
|
class |
CodecExtensions.7 |
|
class |
CodecExtensions.8 |
|
class |
CodecExtensions.9 |
|
static class |
CodecExtensions.CurrencyCodec |
|
static class |
CodecExtensions.GStringCodec |
|
static class |
CodecExtensions.IntRangeCodec |
|
static class |
CodecExtensions.ListCodec |
|
static class |
CodecExtensions.LocaleCodec |
|
static class |
CodecExtensions.MapCodec |
Modifiers | Name | Description |
---|---|---|
private static java.util.Map<java.lang.Class, org.bson.codecs.Codec> |
ADDITIONAL_CODECS |
|
private static java.util.Map<org.bson.BsonType, org.bson.codecs.Codec<?>> |
BSON_TYPE_CODECS |
|
private static java.util.Map<java.lang.Class<? extends org.bson.BsonValue>, java.util.List<org.springframework.core.convert.converter.Converter>> |
BSON_VALUE_CONVERTERS |
Constructor and description |
---|
CodecExtensions
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
|
<T> |
org.bson.codecs.Codec<T> |
get(java.lang.Class<T> clazz, org.bson.codecs.configuration.CodecRegistry registry) |
|
static org.springframework.core.convert.converter.Converter |
getBsonConverter(java.lang.Class<? extends org.bson.BsonValue> type) |
|
static java.util.Collection<org.springframework.core.convert.converter.Converter> |
getBsonConverters() |
|
static org.bson.codecs.Codec |
getCodecForBsonType(org.bson.BsonType bsonType, org.bson.codecs.configuration.CodecRegistry registry) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |