move filename for keys.csv to UniqueStringIntegerPairs
This commit is contained in:
@@ -123,7 +123,7 @@ public class DataStore implements AutoCloseable {
|
||||
public DataStore(final Path dataDirectory) throws IOException {
|
||||
storageBasePath = storageDirectory(dataDirectory);
|
||||
|
||||
stringCompressor = StringCompressor.create(keyCompressionFile(storageBasePath));
|
||||
stringCompressor = StringCompressor.create(storageBasePath);
|
||||
Tags.STRING_COMPRESSOR = stringCompressor;
|
||||
|
||||
diskStorage = new PartitionDiskStore(storageBasePath, "data.bs");
|
||||
@@ -143,10 +143,6 @@ public class DataStore implements AutoCloseable {
|
||||
writerCache.addListener((key, value) -> value.close());
|
||||
}
|
||||
|
||||
private Path keyCompressionFile(final Path dataDirectory) throws IOException {
|
||||
return dataDirectory.resolve("keys.csv");
|
||||
}
|
||||
|
||||
public static Path storageDirectory(final Path dataDirectory) throws IOException {
|
||||
return dataDirectory.resolve(SUBDIR_STORAGE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user