Class HandleBackedMappingEntrySource
java.lang.Object
org.apache.flink.state.forst.fs.filemapping.MappingEntrySource
org.apache.flink.state.forst.fs.filemapping.HandleBackedMappingEntrySource
A
MappingEntrySource backed by a StreamStateHandle.-
Field Summary
Fields inherited from class org.apache.flink.state.forst.fs.filemapping.MappingEntrySource
LOG -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoiddelete(boolean recursive) booleanorg.apache.flink.core.fs.PathlonggetSize()org.apache.flink.runtime.state.StreamStateHandleorg.apache.flink.core.fs.FSDataInputStreamorg.apache.flink.core.fs.FSDataInputStreamopenInputStream(int bufferSize) org.apache.flink.runtime.state.StreamStateHandletoString()
-
Method Details
-
getStateHandle
@Nonnull public org.apache.flink.runtime.state.StreamStateHandle getStateHandle() -
equals
-
toString
-
delete
- Specified by:
deletein classMappingEntrySource- Throws:
IOException
-
getFilePath
@Nullable public org.apache.flink.core.fs.Path getFilePath()- Specified by:
getFilePathin classMappingEntrySource
-
getSize
- Specified by:
getSizein classMappingEntrySource- Throws:
IOException
-
openInputStream
- Specified by:
openInputStreamin classMappingEntrySource- Throws:
IOException
-
openInputStream
public org.apache.flink.core.fs.FSDataInputStream openInputStream(int bufferSize) throws IOException - Specified by:
openInputStreamin classMappingEntrySource- Throws:
IOException
-
cacheable
public boolean cacheable()- Specified by:
cacheablein classMappingEntrySource
-
toStateHandle
public org.apache.flink.runtime.state.StreamStateHandle toStateHandle()- Specified by:
toStateHandlein classMappingEntrySource
-