Contents
Interface Codec<T>
- All Superinterfaces:
RawJsonCodec<T>, SchemaConvertable<T>
- All Known Subinterfaces:
AssetCodec<K,T>, DirectDecodeCodec<T>, InheritCodec<T>, ValidatableCodec<T>
- All Known Implementing Classes:
ACodecMapCodec, AMapProvidedMapCodec, ArrayCodec, AssetBuilderCodec, AssetCodecMapCodec, BoolDoublePairCodec, BooleanCodec, BsonDocumentCodec, BsonFunctionCodec, BuilderCodec, BuilderCodecMapCodec, ByteCodec, CodecMapCodec, ColorAlphaCodec, ColorCodec, ContainedAssetCodec, DeferredCodec, DocumentContainingCodec, DoubleArrayCodec, DoubleCodec, EnumCodec, EnumMapCodec, ExecutorMetricsRegistry, Float2ObjectMapCodec, FloatArrayCodec, FloatCodec, FloatRangeArrayCodec, FunctionCodec, HytaleWorldGenProvider.WorldGenBuilderCodec, InetSocketAddressCodec, Int2ObjectMapCodec, Int3ObjectMapCodec, IntArrayCodec, IntegerCodec, InteractionPriorityCodec, IntRangeArrayCodec, LocalizableString.LocalizableStringCodec, LongArrayCodec, LongCodec, MapCodec, MapKeyMapCodec, MapProvidedMapCodec, MergedEnumMapCodec, MetricsRegistry, NullableBooleanCodec, Object2DoubleMapCodec, Object2FloatMapCodec, Object2IntMapCodec, ObjectCodecMapCodec, ObjectMapCodec, RecordCodec, RefCodec, SemverCodec, SemverRangeCodec, SetCodec, Short2FloatMapCodec, Short2ObjectMapCodec, ShortCodec, StoredCodec, StringCodec, StringCodecMapCodec, StringIntegerCodec, UUIDBinaryCodec, ValueCodec, Vector2dArrayCodec, Vector3dArrayCodec, Vector3iArrayCodec, WeightedMapCodec
- Since:
- 30/6/17.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Patternstatic final BooleanCodecstatic final BsonDocumentCodecDeprecated.static final ByteCodecstatic final Codec<byte[]> Deprecated.static final DoubleCodecstatic final DoubleArrayCodecstatic final FunctionCodec<String, Duration> static final FunctionCodec<Double, Duration> static final FloatCodecstatic final FloatArrayCodecstatic final FunctionCodec<String, Instant> static final IntArrayCodecstatic final IntegerCodecstatic final FunctionCodec<String, Level> static final LongCodecstatic final LongArrayCodecstatic final NullableBooleanCodecstatic final FunctionCodec<String, Path> static final ShortCodecstatic final StringCodecstatic final ArrayCodec<String> static final UUIDBinaryCodecstatic final FunctionCodec<String, UUID> -
Method Summary
Modifier and TypeMethodDescriptiondefault Tdecode(org.bson.BsonValue bsonValue) Deprecated.default TdecodeJson(RawJsonReader reader, ExtraInfo extraInfo) default org.bson.BsonValueDeprecated.org.bson.BsonValuestatic booleanisNullBsonValue(org.bson.BsonValue bsonValue) Methods inherited from interface RawJsonCodec
decodeJsonMethods inherited from interface SchemaConvertable
toSchema, toSchema
-
Field Details
-
BSON_DOCUMENT
Deprecated. -
STRING
-
BOOLEAN
-
NULLABLE_BOOLEAN
-
DOUBLE
-
FLOAT
-
BYTE
-
SHORT
-
INTEGER
-
LONG
-
BASE64_PATTERN
-
BYTE_ARRAY
Deprecated. -
DOUBLE_ARRAY
-
FLOAT_ARRAY
-
INT_ARRAY
-
LONG_ARRAY
-
STRING_ARRAY
-
PATH
-
INSTANT
-
DURATION
-
DURATION_SECONDS
-
LOG_LEVEL
-
UUID_BINARY
-
UUID_STRING
-
-
Method Details
-
decode
Deprecated. -
decode
-
encode
Deprecated. -
encode
-
decodeJson
@Nullable default T decodeJson(@Nonnull RawJsonReader reader, ExtraInfo extraInfo) throws IOException - Specified by:
decodeJsonin interfaceRawJsonCodec<T>- Throws:
IOException
-
isNullBsonValue
static boolean isNullBsonValue(@Nullable org.bson.BsonValue bsonValue)
-