Class Summary
Class |
Description |
CodecsUtil |
|
DayOfWeekAsInt32Codec |
Encodes and decodes DayOfWeek values to and from
BSON Int32 , such as 2 .
|
DayOfWeekAsStringCodec |
Encodes and decodes DayOfWeek values to and from
BSON String , such as TUESDAY .
|
DurationAsDecimal128Codec |
Encodes and decodes Duration values to and from
BSON Decimal128 , such as 10.100_000_000 .
|
DurationAsDocumentCodec |
Encodes and decodes Duration values to and from
BSON Document , such as { seconds: 10, nanos: 100 } .
|
DurationAsStringCodec |
Encodes and decodes Duration values to and from
BSON String , such as PT10.100S .
|
InstantAsDateTimeCodec |
Encodes and decodes Instant values to and from
BSON DateTime .
|
InstantAsDocumentCodec |
Encodes and decodes Instant values to and from
BSON Document , such as { seconds: 1514888130, nanos: 0 } .
|
InstantAsStringCodec |
Encodes and decodes Instant values to and from
BSON String , such as 2018-01-02T10:15:30Z .
|
LocalDateAsDateTimeCodec |
Encodes and decodes LocalDate values to and from
BSON DateTime .
|
LocalDateAsDocumentCodec |
Encodes and decodes LocalDate values to and from
BSON Document , such as { year: 2018, month: 1, day: 2 } .
|
LocalDateAsStringCodec |
Encodes and decodes LocalDate values to and from
BSON String , such as 2018-01-02 .
|
LocalDateTimeAsDateTimeCodec |
Encodes and decodes LocalDateTime values to and from
BSON DateTime .
|
LocalDateTimeAsDocumentCodec |
Encodes and decodes LocalDateTime values to and from
BSON Document , such as:
|
LocalDateTimeAsStringCodec |
Encodes and decodes LocalDateTime values to and from
BSON String , such as 2018-01-02T10:15:30 .
|
LocalTimeAsDateTimeCodec |
Encodes and decodes LocalTime values to and from
BSON DateTime .
|
LocalTimeAsDocumentCodec |
Encodes and decodes LocalTime values to and from
BSON Document , such as
{ hour: 10, minute: 15, second: 30, nano: 0 } .
|
LocalTimeAsInt64Codec |
Encodes and decodes LocalTime values to and from
BSON Int64 , such as 36_930_000_000_000 .
|
LocalTimeAsStringCodec |
Encodes and decodes LocalTime values to and from
BSON String , such as 10:15:30 .
|
MonthAsInt32Codec |
Encodes and decodes Month values to and from
BSON Int32 , such as 1 .
|
MonthAsStringCodec |
Encodes and decodes Month values to and from
BSON String , such as JANUARY .
|
MonthDayAsDecimal128Codec |
Encodes and decodes MonthDay values to and from
BSON Decimal128 , such as 1.02 .
|
MonthDayAsDocumentCodec |
Encodes and decodes MonthDay values to and from
BSON Document , such as { month: 1, day: 2 } .
|
MonthDayAsStringCodec |
Encodes and decodes MonthDay values to and from
BSON String , such as --01-02 .
|
OffsetDateTimeAsDocumentCodec |
Encodes and decodes OffsetDateTime values to and from
BSON Document , such as:
|
OffsetDateTimeAsStringCodec |
Encodes and decodes OffsetDateTime values to and from
BSON String , such as 2018-01-02T10:15:30+01:00 .
|
OffsetTimeAsDocumentCodec |
Encodes and decodes OffsetTime values to and from
BSON Document , such as:
|
OffsetTimeAsStringCodec |
Encodes and decodes OffsetTime values to and from
BSON String , such as 10:15:30+01:00 .
|
PeriodAsDocumentCodec |
Encodes and decodes Period values to and from
BSON Document , such as { years: 18, months: 1, days: 2 } .
|
PeriodAsStringCodec |
Encodes and decodes Period values to and from
BSON String , such as P18Y1M2D .
|
YearAsInt32Codec |
Encodes and decodes Year values to and from
BSON Int32 , such as 2018 .
|
YearMonthAsDecimal128Codec |
Encodes and decodes YearMonth values to and from
BSON Decimal128 , such as 2018.01 .
|
YearMonthAsDocumentCodec |
Encodes and decodes YearMonth values to and from
BSON Document , such as { year: 2018, month: 1 } .
|
YearMonthAsStringCodec |
Encodes and decodes YearMonth values to and from
BSON String , such as 2018-01 .
|
ZonedDateTimeAsDocumentCodec |
Encodes and decodes ZonedDateTime values to and from
BSON Document , such as:
|
ZonedDateTimeAsStringCodec |
Encodes and decodes ZonedDateTime values to and from
BSON String , such as 2018-01-02T10:15:30+01:00[CET] .
|
ZoneIdAsStringCodec |
Encodes and decodes ZoneId values to and from
BSON String , such as
CET (non-offset based IDs) or
+01:00 (offset based IDs).
|
ZoneOffsetAsInt32Codec |
Encodes and decodes ZoneOffset values to and from
BSON Int32 , such as 3_600 .
|
ZoneOffsetAsStringCodec |
Encodes and decodes ZoneOffset values to and from
BSON String , such as +01:00 .
|