| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
CompactionOptions |
CompactionOptions.setCompression(CompressionType compression)
Set the compaction output compression type.
|
CompactionOptions |
CompactionOptions.setMaxSubcompactions(int maxSubcompactions)
This value represents the maximum number of threads that will
concurrently perform a compaction job by breaking it into multiple,
smaller ones that are run simultaneously.
|
CompactionOptions |
CompactionOptions.setOutputFileSizeLimit(long outputFileSizeLimit)
Compaction will create files of size
outputFileSizeLimit(). |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
RocksDB.compactFiles(CompactionOptions compactionOptions,
ColumnFamilyHandle columnFamilyHandle,
List<String> inputFileNames,
int outputLevel,
int outputPathId,
CompactionJobInfo compactionJobInfo)
Takes a list of files specified by file names and
compacts them to the specified level.
|
List<String> |
RocksDB.compactFiles(CompactionOptions compactionOptions,
List<String> inputFileNames,
int outputLevel,
int outputPathId,
CompactionJobInfo compactionJobInfo)
Takes a list of files specified by file names and
compacts them to the specified level.
|
Copyright © 2021. All rights reserved.