Package io.activej.serializer.impl
Class SerializerDefString
java.lang.Object
io.activej.serializer.AbstractSerializerDef
io.activej.serializer.impl.SerializerDefString
- All Implemented Interfaces:
SerializerDefWithNullable,SerializerDef
public final class SerializerDefString
extends AbstractSerializerDef
implements SerializerDefWithNullable
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.activej.serializer.SerializerDef
SerializerDef.StaticDecoders, SerializerDef.StaticEncoders, SerializerDef.Visitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecoder(SerializerDef.StaticDecoders staticDecoders, Expression in, int version, CompatibilityLevel compatibilityLevel) encoder(SerializerDef.StaticEncoders staticEncoders, Expression buf, Variable pos, Expression value, int version, CompatibilityLevel compatibilityLevel) encoding(StringFormat format) ensureNullable(CompatibilityLevel compatibilityLevel) Class<?>Returns the raw type of object which will be serializedMethods inherited from class io.activej.serializer.AbstractSerializerDef
accept, getDecodeType, getVersions, isInlineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.serializer.SerializerDef
accept, defineDecoder, defineEncoder, getDecodeType, getVersions, isInline
-
Constructor Details
-
SerializerDefString
public SerializerDefString() -
SerializerDefString
-
-
Method Details
-
ensureNullable
- Specified by:
ensureNullablein interfaceSerializerDefWithNullable
-
encoding
-
getEncodeType
Description copied from interface:SerializerDefReturns the raw type of object which will be serialized- Specified by:
getEncodeTypein interfaceSerializerDef- Returns:
- type of object which will be serialized
-
encoder
public Expression encoder(SerializerDef.StaticEncoders staticEncoders, Expression buf, Variable pos, Expression value, int version, CompatibilityLevel compatibilityLevel) - Specified by:
encoderin interfaceSerializerDef
-
decoder
public Expression decoder(SerializerDef.StaticDecoders staticDecoders, Expression in, int version, CompatibilityLevel compatibilityLevel) - Specified by:
decoderin interfaceSerializerDef
-