Class VersionStoreFactory
- java.lang.Object
-
- com.dremio.nessie.server.providers.VersionStoreFactory
-
@Singleton public class VersionStoreFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description VersionStoreFactory(ApplicationConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.dremio.nessie.versioned.VersionStore<com.dremio.nessie.model.Contents,com.dremio.nessie.model.CommitMeta>configuration(TableCommitMetaStoreWorker storeWorker, org.eclipse.jgit.lib.Repository repository, ServerConfig config)default config for lambda function.org.eclipse.jgit.lib.Repositoryrepository(com.dremio.nessie.backend.Backend backend)produce a git repo based on config.com.dremio.nessie.versioned.StoreWorker<com.dremio.nessie.model.Contents,com.dremio.nessie.model.CommitMeta>worker()
-
-
-
Constructor Detail
-
VersionStoreFactory
@Inject public VersionStoreFactory(ApplicationConfig config)
-
-
Method Detail
-
worker
@Produces public com.dremio.nessie.versioned.StoreWorker<com.dremio.nessie.model.Contents,com.dremio.nessie.model.CommitMeta> worker()
-
configuration
@Produces @Singleton public com.dremio.nessie.versioned.VersionStore<com.dremio.nessie.model.Contents,com.dremio.nessie.model.CommitMeta> configuration(TableCommitMetaStoreWorker storeWorker, org.eclipse.jgit.lib.Repository repository, ServerConfig config)
default config for lambda function.
-
repository
@Produces public org.eclipse.jgit.lib.Repository repository(com.dremio.nessie.backend.Backend backend) throws IOException, org.eclipse.jgit.api.errors.GitAPIExceptionproduce a git repo based on config.- Throws:
IOExceptionorg.eclipse.jgit.api.errors.GitAPIException
-
-