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.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, discardState, getFilePath, getStateSize, openInputStream
public RelativeFileStateHandle(org.apache.flink.core.fs.Path path, String relativePath, long stateSize)
public String getRelativePath()
public boolean equals(Object o)
equals
in class FileStateHandle
public int hashCode()
hashCode
in class FileStateHandle
public String toString()
toString
in class FileStateHandle
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.