Skip to content

Commit

Permalink
more into store package
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Jan 9, 2025
1 parent 3f396f6 commit ec6bc47
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import bio.guoda.preston.process.StatementsListener;
import bio.guoda.preston.store.BlobStore;
import bio.guoda.preston.store.BlobStoreAppendOnly;
import bio.guoda.preston.store.KeyToPathFactoryDepth;
import bio.guoda.preston.store.ValidatingKeyValueStreamContentAddressedFactory;
import org.apache.commons.rdf.api.IRI;
import picocli.CommandLine;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package bio.guoda.preston.store;

public interface KeyToPathFactory {
KeyToPath getKeyToPath();
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
package bio.guoda.preston.cmd;

import bio.guoda.preston.store.KeyTo1LevelPath;
import bio.guoda.preston.store.KeyTo3LevelPath;
import bio.guoda.preston.store.KeyToPath;
package bio.guoda.preston.store;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
package bio.guoda.preston.cmd;

import bio.guoda.preston.store.KeyValueStore;
import bio.guoda.preston.store.ValidatingKeyValueStreamFactory;
package bio.guoda.preston.store;

public interface KeyValueStoreFactory {
KeyValueStore getKeyValueStore(ValidatingKeyValueStreamFactory validatingKeyValueStreamFactory);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
package bio.guoda.preston.cmd;

import bio.guoda.preston.store.KeyTo5LevelPath;
import bio.guoda.preston.store.KeyToPath;
import bio.guoda.preston.store.KeyValueStore;
import bio.guoda.preston.store.KeyValueStoreLocalFileSystem;
import bio.guoda.preston.store.KeyValueStoreReadOnly;
import bio.guoda.preston.store.KeyValueStoreWithFallback;
import bio.guoda.preston.store.ValidatingKeyValueStreamFactory;
package bio.guoda.preston.store;

import java.io.File;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import bio.guoda.preston.DerefProgressListener;
import bio.guoda.preston.HashType;
import bio.guoda.preston.ResourcesHTTP;
import bio.guoda.preston.cmd.KeyToPathFactory;
import bio.guoda.preston.cmd.KeyToPathFactoryDepth;
import bio.guoda.preston.cmd.KeyValueStoreFactoryFallBack;
import bio.guoda.preston.stream.ContentStreamUtil;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.io.IOUtils;
Expand Down

0 comments on commit ec6bc47

Please sign in to comment.