Class FlatFileStoreUtils
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.FlatFileStoreUtils
-
public class FlatFileStoreUtils extends Object
Deprecated.UseIndexStoreUtils
insteadThis class provides common utility functions for building FlatFileStore.
-
-
Field Summary
Fields Modifier and Type Field Description static String
METADATA_SUFFIX
Deprecated.
-
Constructor Summary
Constructors Constructor Description FlatFileStoreUtils()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BufferedReader
createReader(File file, boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static BufferedReader
createReader(File file, Compression algorithm)
Deprecated.static BufferedWriter
createWriter(File file, boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static BufferedWriter
createWriter(File file, Compression algorithm)
Deprecated.static String
getSortedStoreFileName(boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static String
getSortedStoreFileName(Compression algorithm)
Deprecated.static long
sizeOf(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.
-
-