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(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, maybeGetPath, openInputStream
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–2024 The Apache Software Foundation. All rights reserved.