Class ListStateDescriptor<T>

    • Constructor Detail

      • ListStateDescriptor

        public ListStateDescriptor​(String name,
                                   Class<T> elementTypeClass)
        Creates a new ListStateDescriptor with the given name and list element type.

        If this constructor fails (because it is not possible to describe the type via a class), consider using the ListStateDescriptor(String, TypeInformation) constructor.

        Parameters:
        name - The (unique) name for the state.
        elementTypeClass - The type of the elements in the state.
      • ListStateDescriptor

        public ListStateDescriptor​(String name,
                                   TypeInformation<T> elementTypeInfo)
        Creates a new ListStateDescriptor with the given name and list element type.
        Parameters:
        name - The (unique) name for the state.
        elementTypeInfo - The type of the elements in the state.
      • ListStateDescriptor

        public ListStateDescriptor​(String name,
                                   TypeSerializer<T> typeSerializer)
        Creates a new ListStateDescriptor with the given name and list element type.
        Parameters:
        name - The (unique) name for the state.
        typeSerializer - The type serializer for the list values.