Uses of Interface
org.apache.jackrabbit.oak.commons.Compression
Packages that use Compression
-
Uses of Compression in org.apache.jackrabbit.oak.commons
Fields in org.apache.jackrabbit.oak.commons declared as CompressionModifier and TypeFieldDescriptionstatic final CompressionCompression.GZIPstatic final CompressionCompression.NONE -
Uses of Compression in org.apache.jackrabbit.oak.commons.sort
Methods in org.apache.jackrabbit.oak.commons.sort with parameters of type CompressionModifier and TypeMethodDescriptionstatic <T> intExternalSort.mergeSortedFiles(List<File> files, BufferedWriter fbw, Comparator<T> cmp, Charset cs, boolean distinct, Compression algorithm, Function<T, String> typeToString, Function<String, T> stringToType) This merges a bunch of temporary flat files and deletes them on success or error.static intExternalSort.mergeSortedFiles(List<File> files, File outputfile, Comparator<String> cmp, Charset cs, boolean distinct, boolean append, Compression algorithm) static <T> intExternalSort.mergeSortedFiles(List<File> files, File outputfile, Comparator<T> cmp, Charset cs, boolean distinct, boolean append, Compression algorithm, Function<T, String> typeToString, Function<String, T> stringToType) static <T> voidExternalSortByteArray.mergeSortedFilesBinary(List<Path> files, OutputStream fbw, Comparator<T> cmp, boolean distinct, Compression algorithm, Function<T, byte[]> typeToByteArray, Function<byte[], T> byteArrayToType) static <T> voidExternalSortByteArray.mergeSortedFilesBinary(List<Path> files, OutputStream fbw, Comparator<T> cmp, boolean distinct, Compression algorithm, Function<T, byte[]> typeToByteArray, Function<byte[], T> byteArrayToType, int readBufferSize) static <T> FileExternalSort.sortAndSave(List<T> tmplist, Comparator<T> cmp, Charset cs, File tmpdirectory, boolean distinct, Compression algorithm, Function<T, String> typeToString) static <T> FileExternalSort.sortAndSave(List<T> tmplist, Comparator<T> cmp, Charset cs, File tmpdirectory, boolean distinct, Compression algorithm, Function<T, String> typeToString, @Nullable Predicate<T> filterPredicate) Sort a list and save it to a temporary file.ExternalSort.sortInBatch(BufferedReader fbr, long actualFileSize, Comparator<T> cmp, int maxtmpfiles, long maxMemory, Charset cs, File tmpdirectory, boolean distinct, int numHeader, Compression algorithm, Function<T, String> typeToString, Function<String, T> stringToType) ExternalSort.sortInBatch(BufferedReader fbr, long actualFileSize, Comparator<T> cmp, int maxtmpfiles, long maxMemory, Charset cs, File tmpdirectory, boolean distinct, int numHeader, Compression algorithm, Function<T, String> typeToString, Function<String, T> stringToType, Predicate<T> filterPredicate) ExternalSort.sortInBatch(File file, Comparator<String> cmp, int maxtmpfiles, long maxMemory, Charset cs, File tmpdirectory, boolean distinct, int numHeader, Compression algorithm) ExternalSort.sortInBatch(File file, Comparator<String> cmp, int maxtmpfiles, long maxMemory, Charset cs, File tmpdirectory, boolean distinct, int numHeader, Compression algorithm, Predicate<String> filterPredicate) ExternalSort.sortInBatch(File file, Comparator<T> cmp, int maxtmpfiles, long maxMemory, Charset cs, File tmpdirectory, boolean distinct, int numHeader, Compression algorithm, Function<T, String> typeToString, Function<String, T> stringToType) ExternalSort.sortInBatch(File file, Comparator<T> cmp, int maxtmpfiles, long maxMemory, Charset cs, File tmpdirectory, boolean distinct, int numHeader, Compression algorithm, Function<T, String> typeToString, Function<String, T> stringToType, Predicate<T> filterPredicate)