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
An empty
SegmentFileStateHandle that is only used as a placeholder.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector -
Field Summary
FieldsFields inherited from class org.apache.flink.runtime.state.filemerging.SegmentFileStateHandle
stateSize -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.core.fs.FSDataInputStreamReturns 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.state.StreamStateHandle
maybeGetPath
-
Field Details
-
INSTANCE
-
-
Method Details
-
openInputStream
Description 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
-