java.lang.Object
org.apache.jackrabbit.oak.index.indexer.document.flatfile.FlatFileStoreUtils

public class FlatFileStoreUtils extends Object
Deprecated.
Use IndexStoreUtils instead
This class provides common utility functions for building FlatFileStore.
  • Field Details

  • Constructor Details

    • FlatFileStoreUtils

      public FlatFileStoreUtils()
      Deprecated.
  • Method Details

    • createReader

      public static BufferedReader createReader(File file, boolean compressionEnabled)
      Deprecated.
      This function by default uses GNU zip as compression algorithm for backward compatibility.
    • createReader

      public static BufferedReader createReader(File file, Compression algorithm)
      Deprecated.
    • createWriter

      public static BufferedWriter createWriter(File file, boolean compressionEnabled) throws IOException
      Deprecated.
      This function by default uses GNU zip as compression algorithm for backward compatibility.
      Throws:
      IOException
    • createWriter

      public static BufferedWriter createWriter(File file, Compression algorithm) throws IOException
      Deprecated.
      Throws:
      IOException
    • sizeOf

      public static long sizeOf(List<File> sortedFiles)
      Deprecated.
    • getSortedStoreFileName

      public static String getSortedStoreFileName(boolean compressionEnabled)
      Deprecated.
      This function by default uses GNU zip as compression algorithm for backward compatibility.
    • getSortedStoreFileName

      public static String getSortedStoreFileName(Compression algorithm)
      Deprecated.