T - the value typepublic interface TypeCodec<T>
extends org.bson.codecs.Codec<T>
| Modifier and Type | Method and Description |
|---|---|
default T |
defaultInstance() |
default boolean |
documentHasId(T document) |
default T |
generateIdIfAbsentFromDocument(T document) |
default org.bson.BsonValue |
getDocumentId(T document) |
default boolean |
isCollectible() |
default T |
newInstance() |
Copyright © 2017 BILD GmbH & Co. KG. All rights reserved.