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
Modifier and TypeMethodDescriptiondefault GetCommitLogBuilderfetch(org.projectnessie.api.params.FetchOption fetchOption) Deprecated.fetch(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.untilHash(@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") String untilHash) Methods inherited from interface org.projectnessie.client.api.OnReferenceBuilder
hashOnRef, reference, refNameMethods inherited from interface org.projectnessie.client.api.PagingBuilder
maxRecords, pageToken, streamMethods inherited from interface org.projectnessie.client.api.QueryBuilder
filter
-
Method Details
-
fetch
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.Legacy API method for backward compatibility. Usefetch(FetchOption)instead. -
untilHash
GetCommitLogBuilder untilHash(@Nullable @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") @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") 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
-