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 Type
    Method
    Description
    fetch(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.LogResponse
    get()
    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, refName

    Methods inherited from interface org.projectnessie.client.api.PagingBuilder

    maxRecords, pageToken, stream

    Methods inherited from interface org.projectnessie.client.api.QueryBuilder

    filter
  • Method Details

    • 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. Use fetch(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.NessieNotFoundException
      Description copied from interface: PagingBuilder
      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. If in doubt, use PagingBuilder.stream() instead.
      Specified by:
      get in interface PagingBuilder<GetCommitLogBuilder,org.projectnessie.model.LogResponse,org.projectnessie.model.LogResponse.LogEntry>
      Throws:
      org.projectnessie.error.NessieNotFoundException