Class FlatFileStoreUtils
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.FlatFileStoreUtils
-
public class FlatFileStoreUtils extends Object
Deprecated.UseIndexStoreUtilsinsteadThis class provides common utility functions for building FlatFileStore.
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETADATA_SUFFIXDeprecated.
-
Constructor Summary
Constructors Constructor Description FlatFileStoreUtils()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BufferedReadercreateReader(File file, boolean compressionEnabled)Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static BufferedReadercreateReader(File file, Compression algorithm)Deprecated.static BufferedWritercreateWriter(File file, boolean compressionEnabled)Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static BufferedWritercreateWriter(File file, Compression algorithm)Deprecated.static StringgetSortedStoreFileName(boolean compressionEnabled)Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static StringgetSortedStoreFileName(Compression algorithm)Deprecated.static longsizeOf(List<File> sortedFiles)Deprecated.
-
-
-
Field Detail
-
METADATA_SUFFIX
public static final String METADATA_SUFFIX
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
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.
-
-