| Package | Description |
|---|---|
| de.bild.codec |
| Modifier and Type | Method and Description |
|---|---|
org.bson.BsonValue |
ObjectIdGenerator.asBsonValue(org.bson.types.ObjectId id,
TypeCodecRegistry typeCodecRegistry) |
default org.bson.BsonValue |
IdGenerator.asBsonValue(T id,
TypeCodecRegistry typeCodecRegistry) |
ReflectionCodec |
CodecResolver.getCodec(Type type,
TypeCodecRegistry typeCodecRegistry) |
<T> org.bson.codecs.Codec<T> |
PojoContext.getCodec(Type type,
TypeCodecRegistry typeCodecRegistry)
Calculates and returns a codec for the given type, null otherwise
|
static SetTypeCodec |
SetTypeCodec.getCodecIfApplicable(Type type,
TypeCodecRegistry typeCodecRegistry)
Tries to find the implemented interface List with the correct argument and if found returns the correct codec
|
static MapTypeCodec |
MapTypeCodec.getCodecIfApplicable(Type type,
TypeCodecRegistry typeCodecRegistry) |
static ListTypeCodec |
ListTypeCodec.getCodecIfApplicable(Type type,
TypeCodecRegistry typeCodecRegistry)
Tries to find the implemented interface List with the correct argument and if found returns the correct codec
|
ReflectionCodec |
PojoContext.resolve(Type type,
TypeCodecRegistry typeCodecRegistry)
Iterates over the list of codecResolvers and returns a ReflectionCodec if match is found.
|
| Constructor and Description |
|---|
AbstractTypeCodec(Type type,
TypeCodecRegistry typeCodecRegistry) |
ArrayCodec(Type type,
TypeCodecRegistry typeCodecRegistry) |
BasicReflectionCodec(Type type,
TypeCodecRegistry typeCodecRegistry) |
BasicReflectionCodec(Type type,
TypeCodecRegistry typeCodecRegistry,
Set<String> allDiscriminatorKeys) |
CollectionTypeCodec(Class<C> collectionClass,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
ComplexMapTypeCodec(Class<Map<K,V>> encoderClass,
Type keyType,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
ListTypeCodec(Class<C> collectionClass,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
MappedField(FieldTypePair fieldTypePair,
Class<?> persistedClass,
TypeCodecRegistry typeCodecRegistry) |
MapTypeCodec(Class<Map<K,V>> encoderClass,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
PolymorphicReflectionCodec(Type type,
Set<Type> validTypes,
TypeCodecRegistry typeCodecRegistry,
PojoContext pojoContext) |
SetTypeCodec(Class<C> collectionClass,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
SimpleMapTypeCodec(Class<Map<String,V>> encoderClass,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
SpecialFieldsMapCodec(Type type,
TypeCodecRegistry typeCodecRegistry) |
Copyright © 2017 BILD GmbH & Co. KG. All rights reserved.