Class NessieRepositoryConnector

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.stream.Stream<java.util.Map.Entry<org.projectnessie.model.ContentKey,​org.projectnessie.model.Content>> allContents​(org.projectnessie.model.Detached ref, java.util.Set<org.projectnessie.model.Content.Type> types)
      Retrieves all remaining contents at the last live commit (the commit right before the first non-live commit).
      java.util.stream.Stream<org.projectnessie.model.Reference> allReferences()
      Retrieve all references to walk.
      void close()  
      java.util.stream.Stream<org.projectnessie.model.LogResponse.LogEntry> commitLog​(org.projectnessie.model.Reference ref)
      Retrieve the commit log of a single reference returned via RepositoryConnector.allReferences().
      static RepositoryConnector nessie​(org.projectnessie.client.api.NessieApiV1 api)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • nessie

        public static RepositoryConnector nessie​(org.projectnessie.client.api.NessieApiV1 api)
      • allReferences

        public java.util.stream.Stream<org.projectnessie.model.Reference> allReferences()
                                                                                 throws org.projectnessie.error.NessieNotFoundException
        Description copied from interface: RepositoryConnector
        Retrieve all references to walk. References are usually walked in parallel.
        Specified by:
        allReferences in interface RepositoryConnector
        Throws:
        org.projectnessie.error.NessieNotFoundException
      • commitLog

        public java.util.stream.Stream<org.projectnessie.model.LogResponse.LogEntry> commitLog​(org.projectnessie.model.Reference ref)
                                                                                        throws org.projectnessie.error.NessieNotFoundException
        Description copied from interface: RepositoryConnector
        Retrieve the commit log of a single reference returned via RepositoryConnector.allReferences().
        Specified by:
        commitLog in interface RepositoryConnector
        Throws:
        org.projectnessie.error.NessieNotFoundException
      • allContents

        public java.util.stream.Stream<java.util.Map.Entry<org.projectnessie.model.ContentKey,​org.projectnessie.model.Content>> allContents​(org.projectnessie.model.Detached ref,
                                                                                                                                                  java.util.Set<org.projectnessie.model.Content.Type> types)
        Description copied from interface: RepositoryConnector
        Retrieves all remaining contents at the last live commit (the commit right before the first non-live commit).
        Specified by:
        allContents in interface RepositoryConnector
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable