Class SourceOnlySnapshot.LinkedFilesDirectory

java.lang.Object
org.apache.lucene.store.Directory
org.elasticsearch.snapshots.sourceonly.SourceOnlySnapshot.LinkedFilesDirectory
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
SourceOnlySnapshot

public static class SourceOnlySnapshot.LinkedFilesDirectory extends org.apache.lucene.store.Directory
  • Constructor Details

    • LinkedFilesDirectory

      public LinkedFilesDirectory(org.apache.lucene.store.Directory wrapped)
  • Method Details

    • getWrapped

      public org.apache.lucene.store.Directory getWrapped()
    • listAll

      public String[] listAll() throws IOException
      Specified by:
      listAll in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • deleteFile

      public void deleteFile(String name) throws IOException
      Specified by:
      deleteFile in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • fileLength

      public long fileLength(String name) throws IOException
      Specified by:
      fileLength in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • createOutput

      public org.apache.lucene.store.IndexOutput createOutput(String name, org.apache.lucene.store.IOContext context) throws IOException
      Specified by:
      createOutput in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • createTempOutput

      public org.apache.lucene.store.IndexOutput createTempOutput(String prefix, String suffix, org.apache.lucene.store.IOContext context) throws IOException
      Specified by:
      createTempOutput in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • sync

      public void sync(Collection<String> names) throws IOException
      Specified by:
      sync in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • syncMetaData

      public void syncMetaData() throws IOException
      Specified by:
      syncMetaData in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • rename

      public void rename(String source, String dest) throws IOException
      Specified by:
      rename in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • openInput

      public org.apache.lucene.store.IndexInput openInput(String name, org.apache.lucene.store.IOContext context) throws IOException
      Specified by:
      openInput in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • obtainLock

      public org.apache.lucene.store.Lock obtainLock(String name) throws IOException
      Specified by:
      obtainLock in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • copyFrom

      public void copyFrom(org.apache.lucene.store.Directory from, String src, String dest, org.apache.lucene.store.IOContext context) throws IOException
      Overrides:
      copyFrom in class org.apache.lucene.store.Directory
      Throws:
      IOException
    • getPendingDeletions

      public Set<String> getPendingDeletions() throws IOException
      Specified by:
      getPendingDeletions in class org.apache.lucene.store.Directory
      Throws:
      IOException