@groovy.transform.CompileStatic class InstantCodec extends java.lang.Object implements org.bson.codecs.Codec<java.time.Instant>, InstantBsonConverter
A class to translate a java.time.Instant in MongoDB
Constructor and description |
---|
InstantCodec
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.time.Instant |
decode(org.bson.BsonReader reader, org.bson.codecs.DecoderContext decoderContext) |
|
void |
encode(org.bson.BsonWriter writer, java.time.Instant value, org.bson.codecs.EncoderContext encoderContext) |
|
java.lang.Class<java.time.Instant> |
getEncoderClass() |
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() |