public class RelativeFileStateHandle extends FileStateHandle
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.StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector| Constructor and Description |
|---|
RelativeFileStateHandle(org.apache.flink.core.fs.Path path,
String relativePath,
long stateSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getRelativePath() |
int |
hashCode() |
String |
toString() |
asBytesIfInMemory, collectSizeStats, discardState, getFilePath, getStateSize, getStreamStateHandleID, openInputStreampublic RelativeFileStateHandle(org.apache.flink.core.fs.Path path,
String relativePath,
long stateSize)
public String getRelativePath()
public boolean equals(Object o)
equals in class FileStateHandlepublic int hashCode()
hashCode in class FileStateHandlepublic String toString()
toString in class FileStateHandleCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.