Class EmptySegmentFileStateHandle
- java.lang.Object
-
- org.apache.flink.runtime.state.filemerging.SegmentFileStateHandle
-
- org.apache.flink.runtime.state.filemerging.EmptySegmentFileStateHandle
-
- All Implemented Interfaces:
Serializable,StateObject,StreamStateHandle
public class EmptySegmentFileStateHandle extends SegmentFileStateHandle
An emptySegmentFileStateHandlethat is only used as a placeholder.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector
-
-
Field Summary
Fields Modifier and Type Field Description static EmptySegmentFileStateHandleINSTANCE-
Fields inherited from class org.apache.flink.runtime.state.filemerging.SegmentFileStateHandle
stateSize
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.core.fs.FSDataInputStreamopenInputStream()Returns anFSDataInputStreamthat can be used to read back the data that was previously written to the stream.-
Methods inherited from class org.apache.flink.runtime.state.filemerging.SegmentFileStateHandle
asBytesIfInMemory, collectSizeStats, discardState, equals, getFilePath, getLogicalFileId, getScope, getStartPos, getStateSize, getStreamStateHandleID, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.state.StreamStateHandle
maybeGetPath
-
-
-
-
Field Detail
-
INSTANCE
public static final EmptySegmentFileStateHandle INSTANCE
-
-
Method Detail
-
openInputStream
public org.apache.flink.core.fs.FSDataInputStream openInputStream() throws IOExceptionDescription copied from interface:StreamStateHandleReturns anFSDataInputStreamthat can be used to read back the data that was previously written to the stream.- Specified by:
openInputStreamin interfaceStreamStateHandle- Overrides:
openInputStreamin classSegmentFileStateHandle- Throws:
IOException
-
-