Package org.projectnessie.gc.repository
Interface RepositoryConnector
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
NessieRepositoryConnector
public interface RepositoryConnector extends java.lang.AutoCloseableInterface 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 viaallReferences().
-
-
-
Method Detail
-
allReferences
java.util.stream.Stream<org.projectnessie.model.Reference> allReferences() throws org.projectnessie.error.NessieNotFoundExceptionRetrieve 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.NessieNotFoundExceptionRetrieve the commit log of a single reference returned viaallReferences().- 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.NessieNotFoundExceptionRetrieves all remaining contents at the last live commit (the commit right before the first non-live commit).- Throws:
org.projectnessie.error.NessieNotFoundException
-
-