Class StateHandleID

java.lang.Object
org.apache.flink.util.StringBasedID
org.apache.flink.runtime.state.StateHandleID
All Implemented Interfaces:
Serializable

public class StateHandleID extends org.apache.flink.util.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:
  • Constructor Details

    • StateHandleID

      public StateHandleID(String keyString)
  • Method Details

    • randomStateHandleId

      public static StateHandleID randomStateHandleId()