Class RelativeFileStateHandle
- java.lang.Object
-
- org.apache.flink.runtime.state.filesystem.FileStateHandle
-
- org.apache.flink.runtime.state.filesystem.RelativeFileStateHandle
-
- All Implemented Interfaces:
Serializable,StateObject,StreamStateHandle
public class RelativeFileStateHandle extends FileStateHandle
AStreamStateHandlefor state that was written to a file stream. The differences betweenFileStateHandleandRelativeFileStateHandleis thatRelativeFileStateHandlecontains relativePath for the given handle.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector
-
-
Constructor Summary
Constructors Constructor Description RelativeFileStateHandle(org.apache.flink.core.fs.Path path, String relativePath, long stateSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetRelativePath()inthashCode()StringtoString()-
Methods inherited from class org.apache.flink.runtime.state.filesystem.FileStateHandle
asBytesIfInMemory, collectSizeStats, discardState, getFilePath, getStateSize, getStreamStateHandleID, maybeGetPath, openInputStream
-
-
-
-
Constructor Detail
-
RelativeFileStateHandle
public RelativeFileStateHandle(org.apache.flink.core.fs.Path path, String relativePath, long stateSize)
-
-
Method Detail
-
getRelativePath
public String getRelativePath()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classFileStateHandle
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFileStateHandle
-
toString
public String toString()
- Overrides:
toStringin classFileStateHandle
-
-