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
A
StreamStateHandle for state that was written to a file stream. The differences between
FileStateHandle and RelativeFileStateHandle is that RelativeFileStateHandle contains relativePath for the given handle.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector -
Constructor Summary
ConstructorsConstructorDescriptionRelativeFileStateHandle(org.apache.flink.core.fs.Path path, String relativePath, long stateSize) -
Method Summary
Methods inherited from class org.apache.flink.runtime.state.filesystem.FileStateHandle
asBytesIfInMemory, collectSizeStats, discardState, getFilePath, getStateSize, getStreamStateHandleID, maybeGetPath, openInputStream
-
Constructor Details
-
RelativeFileStateHandle
public RelativeFileStateHandle(org.apache.flink.core.fs.Path path, String relativePath, long stateSize)
-
-
Method Details
-
getRelativePath
-
equals
- Overrides:
equalsin classFileStateHandle
-
hashCode
public int hashCode()- Overrides:
hashCodein classFileStateHandle
-
toString
- Overrides:
toStringin classFileStateHandle
-