@Internal @Deprecated public class ListStateDescriptor<T> extends StateDescriptor<ListState<T>,T>
ListStateDescriptor, retained for
serialization backwards compatibility.StateDescriptor.TypedefaultValue, name, serializer| Constructor and Description |
|---|
ListStateDescriptor(String name,
Class<T> typeClass)
Deprecated.
Creates a new
ListStateDescriptor with the given name and list element type. |
ListStateDescriptor(String name,
TypeInformation<T> typeInfo)
Deprecated.
Creates a new
ListStateDescriptor with the given name and list element type. |
ListStateDescriptor(String name,
TypeSerializer<T> typeSerializer)
Deprecated.
Creates a new
ListStateDescriptor with the given name and list element type. |
| Modifier and Type | Method and Description |
|---|---|
ListState<T> |
bind(StateBinder stateBinder)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
StateDescriptor.Type |
getType()
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
getDefaultValue, getName, getQueryableStateName, getSerializer, initializeSerializerUnlessSet, isQueryable, isSerializerInitialized, setQueryablepublic ListStateDescriptor(String name, Class<T> typeClass)
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.
name - The (unique) name for the state.typeClass - The type of the values in the state.public ListStateDescriptor(String name, TypeInformation<T> typeInfo)
ListStateDescriptor with the given name and list element type.name - The (unique) name for the state.typeInfo - The type of the values in the state.public ListStateDescriptor(String name, TypeSerializer<T> typeSerializer)
ListStateDescriptor with the given name and list element type.name - The (unique) name for the state.typeSerializer - The type serializer for the list values.public ListState<T> bind(StateBinder stateBinder) throws Exception
public boolean equals(Object o)
equals in class StateDescriptor<ListState<T>,T>public int hashCode()
hashCode in class StateDescriptor<ListState<T>,T>public String toString()
toString in class StateDescriptor<ListState<T>,T>public StateDescriptor.Type getType()
getType in class StateDescriptor<ListState<T>,T>Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.