Class VersionStoreFactory


  • @Singleton
    public class VersionStoreFactory
    extends Object
    • 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.GitAPIException
        produce a git repo based on config.
        Throws:
        IOException
        org.eclipse.jgit.api.errors.GitAPIException