Class FlatFileStoreUtils
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.FlatFileStoreUtils
-
public class FlatFileStoreUtils extends java.lang.Object
Deprecated.UseIndexStoreUtils
insteadThis class provides common utility functions for building FlatFileStore.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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 java.io.BufferedReader
createReader(java.io.File file, boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static java.io.BufferedReader
createReader(java.io.File file, Compression algorithm)
Deprecated.static java.io.BufferedWriter
createWriter(java.io.File file, boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static java.io.BufferedWriter
createWriter(java.io.File file, Compression algorithm)
Deprecated.static java.lang.String
getSortedStoreFileName(boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.static java.lang.String
getSortedStoreFileName(Compression algorithm)
Deprecated.static long
sizeOf(java.util.List<java.io.File> sortedFiles)
Deprecated.
-
-
-
Field Detail
-
METADATA_SUFFIX
public static final java.lang.String METADATA_SUFFIX
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
createReader
public static java.io.BufferedReader createReader(java.io.File file, boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.
-
createReader
public static java.io.BufferedReader createReader(java.io.File file, Compression algorithm)
Deprecated.
-
createWriter
public static java.io.BufferedWriter createWriter(java.io.File file, boolean compressionEnabled) throws java.io.IOException
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.- Throws:
java.io.IOException
-
createWriter
public static java.io.BufferedWriter createWriter(java.io.File file, Compression algorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
sizeOf
public static long sizeOf(java.util.List<java.io.File> sortedFiles)
Deprecated.
-
getSortedStoreFileName
public static java.lang.String getSortedStoreFileName(boolean compressionEnabled)
Deprecated.This function by default uses GNU zip as compression algorithm for backward compatibility.
-
getSortedStoreFileName
public static java.lang.String getSortedStoreFileName(Compression algorithm)
Deprecated.
-
-