Class MappingEntrySource

java.lang.Object
org.apache.flink.state.forst.fs.filemapping.MappingEntrySource
Direct Known Subclasses:
FileBackedMappingEntrySource, HandleBackedMappingEntrySource

public abstract class MappingEntrySource extends Object
Indicates the source file of the MappingEntry. It may be backed either by a file or a StreamStateHandle.
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
  • Method Details

    • delete

      public abstract void delete(boolean recursive) throws IOException
      Throws:
      IOException
    • getFilePath

      @Nullable public abstract org.apache.flink.core.fs.Path getFilePath()
    • getSize

      public abstract long getSize() throws IOException
      Throws:
      IOException
    • openInputStream

      public abstract org.apache.flink.core.fs.FSDataInputStream openInputStream() throws IOException
      Throws:
      IOException
    • openInputStream

      public abstract org.apache.flink.core.fs.FSDataInputStream openInputStream(int bufferSize) throws IOException
      Throws:
      IOException
    • cacheable

      public abstract boolean cacheable()
    • toStateHandle

      public abstract org.apache.flink.runtime.state.StreamStateHandle toStateHandle() throws IOException
      Throws:
      IOException