@groovy.transform.CompileStatic class CodecCustomTypeMarshaller extends java.lang.Object implements CustomTypeMarshaller<Document, Document, Document>
Custom type handler for types that have codecs
| Type | Name and description |
|---|---|
Codec |
codec |
MappingContext |
mappingContext |
| Constructor and description |
|---|
CodecCustomTypeMarshaller(Codec codec, MappingContext mappingContext) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Class |
getTargetType() |
|
Document |
query(PersistentProperty property, PropertyCriterion criterion, Document nativeQuery) |
|
Document |
read(PersistentProperty property, Document source) |
|
boolean |
supports(MappingContext context) |
|
boolean |
supports(Datastore datastore) |
|
java.lang.Object |
write(PersistentProperty property, Document value, Document nativeTarget) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Groovy Documentation