Interface SerializerFactory
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Internal @FunctionalInterface public interface SerializerFactory
A factory forTypeSerializerimplementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TypeSerializer<T>createSerializer(TypeInformation<T> typeInformation)Creates a serializer for the specified type of data.
-
-
-
Method Detail
-
createSerializer
<T> TypeSerializer<T> createSerializer(TypeInformation<T> typeInformation)
Creates a serializer for the specified type of data.- Parameters:
typeInformation- the type of data that the serializer will be used to serialize or deserialize- Returns:
- an instance of a class that implements the
TypeSerializerinterface
-
-