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 for TypeSerializer implementations.
    • 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 TypeSerializer interface