Class FileBackedMappingEntrySource
java.lang.Object
org.apache.flink.state.forst.fs.filemapping.MappingEntrySource
org.apache.flink.state.forst.fs.filemapping.FileBackedMappingEntrySource
A
MappingEntrySource backed by a Path.-
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.core.fs.FSDataInputStreamorg.apache.flink.core.fs.FSDataInputStreamopenInputStream(int bufferSize) org.apache.flink.runtime.state.StreamStateHandletoString()
-
Method Details
-
equals
-
toString
-
delete
- Specified by:
deletein classMappingEntrySource- Throws:
IOException
-
getFilePath
@Nonnull 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
- Specified by:
toStateHandlein classMappingEntrySource- Throws:
IOException
-