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
AStreamStateHandle
for state that was written to a file stream. The differences betweenFileStateHandle
andRelativeFileStateHandle
is thatRelativeFileStateHandle
contains 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(Path path, String relativePath, long stateSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getRelativePath()
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.flink.runtime.state.filesystem.FileStateHandle
asBytesIfInMemory, collectSizeStats, discardState, getFilePath, getStateSize, getStreamStateHandleID, maybeGetPath, openInputStream
-
-
-
-
Method Detail
-
getRelativePath
public String getRelativePath()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classFileStateHandle
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFileStateHandle
-
toString
public String toString()
- Overrides:
toString
in classFileStateHandle
-
-