Interface RepositoryConnector

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    NessieRepositoryConnector

    public interface RepositoryConnector
    extends java.lang.AutoCloseable
    Interface providing the functionality to access the catalog/repository.
    • Method Summary

      All Methods Instance Methods Abstract 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.
      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 allReferences().
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • allReferences

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

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

        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)
                                                                                                                                    throws org.projectnessie.error.NessieNotFoundException
        Retrieves all remaining contents at the last live commit (the commit right before the first non-live commit).
        Throws:
        org.projectnessie.error.NessieNotFoundException