Package org.projectnessie.client.api
Interface GetCommitLogBuilder
-
- All Superinterfaces:
OnReferenceBuilder<GetCommitLogBuilder>,PagingBuilder<GetCommitLogBuilder,org.projectnessie.model.LogResponse,org.projectnessie.model.LogResponse.LogEntry>,QueryBuilder<GetCommitLogBuilder>
- All Known Implementing Classes:
BaseGetCommitLogBuilder
public interface GetCommitLogBuilder extends QueryBuilder<GetCommitLogBuilder>, PagingBuilder<GetCommitLogBuilder,org.projectnessie.model.LogResponse,org.projectnessie.model.LogResponse.LogEntry>, OnReferenceBuilder<GetCommitLogBuilder>
Request builder for "get commit log".- Since:
NessieApiV1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default GetCommitLogBuilderfetch(org.projectnessie.api.params.FetchOption fetchOption)Deprecated.GetCommitLogBuilderfetch(org.projectnessie.model.FetchOption fetchOption)Will fetch additional metadata about each commit like operations in a commit and parent hash.org.projectnessie.model.LogResponseget()Advanced usage, for manual paging: fetches a response chunk (might be one page or complete response depending on use case and parameters), but callers must implement paging on their own, if necessary.GetCommitLogBuilderuntilHash(@Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") java.lang.String untilHash)-
Methods inherited from interface org.projectnessie.client.api.OnReferenceBuilder
hashOnRef, reference, refName
-
Methods inherited from interface org.projectnessie.client.api.PagingBuilder
maxRecords, pageToken, stream
-
Methods inherited from interface org.projectnessie.client.api.QueryBuilder
filter
-
-
-
-
Method Detail
-
fetch
GetCommitLogBuilder fetch(org.projectnessie.model.FetchOption fetchOption)
Will fetch additional metadata about each commit like operations in a commit and parent hash.- Parameters:
fetchOption- The option indicating how much info to fetch- Returns:
GetAllReferencesBuilder
-
fetch
@Deprecated default GetCommitLogBuilder fetch(org.projectnessie.api.params.FetchOption fetchOption)
Deprecated.Legacy API method for backward compatibility. Usefetch(FetchOption)instead.
-
untilHash
GetCommitLogBuilder untilHash(@Nullable @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") java.lang.String untilHash)
-
get
org.projectnessie.model.LogResponse get() throws org.projectnessie.error.NessieNotFoundExceptionDescription copied from interface:PagingBuilderAdvanced usage, for manual paging: fetches a response chunk (might be one page or complete response depending on use case and parameters), but callers must implement paging on their own, if necessary. If in doubt, usePagingBuilder.stream()instead.- Specified by:
getin interfacePagingBuilder<GetCommitLogBuilder,org.projectnessie.model.LogResponse,org.projectnessie.model.LogResponse.LogEntry>- Throws:
org.projectnessie.error.NessieNotFoundException
-
-