public class EmptySegmentFileStateHandle extends SegmentFileStateHandle
SegmentFileStateHandle that is only used as a placeholder.StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector| Modifier and Type | Field and Description |
|---|---|
static EmptySegmentFileStateHandle |
INSTANCE |
stateSize| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.core.fs.FSDataInputStream |
openInputStream()
Returns an
FSDataInputStream that can be used to read back the data that was
previously written to the stream. |
asBytesIfInMemory, collectSizeStats, discardState, equals, getFilePath, getLogicalFileId, getScope, getStartPos, getStateSize, getStreamStateHandleID, hashCode, toStringpublic static final EmptySegmentFileStateHandle INSTANCE
public org.apache.flink.core.fs.FSDataInputStream openInputStream()
throws IOException
StreamStateHandleFSDataInputStream that can be used to read back the data that was
previously written to the stream.openInputStream in interface StreamStateHandleopenInputStream in class SegmentFileStateHandleIOExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.