Package org.apache.flink.runtime.state
Class StateHandleID
- java.lang.Object
-
- org.apache.flink.util.StringBasedID
-
- org.apache.flink.runtime.state.StateHandleID
-
- All Implemented Interfaces:
Serializable
public class StateHandleID extends StringBasedID
Unique ID that allows for logical comparison between state handles.Two state handles that are considered as logically equal should always return the same ID (whatever logically equal means is up to the implementation). For example, this could be based on the string representation of the full filepath for a state that is based on a file.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StateHandleID(String keyString)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateHandleID
randomStateHandleId()
-
Methods inherited from class org.apache.flink.util.StringBasedID
equals, getKeyString, hashCode, toString
-
-
-
-
Constructor Detail
-
StateHandleID
public StateHandleID(String keyString)
-
-
Method Detail
-
randomStateHandleId
public static StateHandleID randomStateHandleId()
-
-