@groovy.transform.CompileStatic class SimpleEncoder extends java.lang.Object implements PropertyEncoder<Simple>
An encoder for simple types persistable by MongoDB
Modifiers | Name | Description |
---|---|---|
class |
SimpleEncoder.1 |
|
class |
SimpleEncoder.10 |
|
class |
SimpleEncoder.11 |
|
class |
SimpleEncoder.12 |
|
class |
SimpleEncoder.13 |
|
class |
SimpleEncoder.2 |
|
class |
SimpleEncoder.3 |
|
class |
SimpleEncoder.4 |
|
class |
SimpleEncoder.5 |
|
class |
SimpleEncoder.6 |
|
class |
SimpleEncoder.7 |
|
class |
SimpleEncoder.8 |
|
class |
SimpleEncoder.9 |
|
static interface |
SimpleEncoder.TypeEncoder |
Modifiers | Name | Description |
---|---|---|
static TypeEncoder |
DEFAULT_ENCODER |
|
static java.util.Map<java.lang.Class, TypeEncoder> |
SIMPLE_TYPE_ENCODERS |
Constructor and description |
---|
SimpleEncoder
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
|
|
static void |
enableBigDecimalEncoding() Enables Decimal128 encoding for simple types |
|
void |
encode(org.bson.BsonWriter writer, Simple property, java.lang.Object value, EntityAccess parentAccess, org.bson.codecs.EncoderContext encoderContext, org.bson.codecs.configuration.CodecRegistry codecRegistry) |
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() |
Enables Decimal128 encoding for simple types