Class MappingEntrySource
java.lang.Object
org.apache.flink.state.forst.fs.filemapping.MappingEntrySource
- Direct Known Subclasses:
FileBackedMappingEntrySource,HandleBackedMappingEntrySource
Indicates the source file of the
MappingEntry. It may be backed either by a file or a
StreamStateHandle.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract voiddelete(boolean recursive) abstract org.apache.flink.core.fs.Pathabstract longgetSize()abstract org.apache.flink.core.fs.FSDataInputStreamabstract org.apache.flink.core.fs.FSDataInputStreamopenInputStream(int bufferSize) abstract org.apache.flink.runtime.state.StreamStateHandle
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Method Details
-
delete
- Throws:
IOException
-
getFilePath
@Nullable public abstract org.apache.flink.core.fs.Path getFilePath() -
getSize
- Throws:
IOException
-
openInputStream
- Throws:
IOException
-
openInputStream
public abstract org.apache.flink.core.fs.FSDataInputStream openInputStream(int bufferSize) throws IOException - Throws:
IOException
-
cacheable
public abstract boolean cacheable() -
toStateHandle
- Throws:
IOException
-