Class BaseGetMultipleNamespacesBuilder

java.lang.Object
org.projectnessie.client.builder.BaseGetMultipleNamespacesBuilder
All Implemented Interfaces:
GetMultipleNamespacesBuilder, OnNamespaceBuilder<GetMultipleNamespacesBuilder>, OnReferenceBuilder<GetMultipleNamespacesBuilder>
Direct Known Subclasses:
ClientSideGetMultipleNamespaces

public abstract class BaseGetMultipleNamespacesBuilder extends Object implements GetMultipleNamespacesBuilder
  • Field Details

    • namespace

      protected org.projectnessie.model.Namespace namespace
    • refName

      protected String refName
    • hashOnRef

      protected String hashOnRef
  • Constructor Details

    • BaseGetMultipleNamespacesBuilder

      public BaseGetMultipleNamespacesBuilder()
  • Method Details

    • namespace

      public GetMultipleNamespacesBuilder namespace(org.projectnessie.model.Namespace namespace)
      Specified by:
      namespace in interface OnNamespaceBuilder<GetMultipleNamespacesBuilder>
    • refName

      public GetMultipleNamespacesBuilder refName(String refName)
      Specified by:
      refName in interface OnReferenceBuilder<GetMultipleNamespacesBuilder>
    • hashOnRef

      public GetMultipleNamespacesBuilder hashOnRef(@Nullable @Nullable String hashOnRef)
      Description copied from interface: OnReferenceBuilder
      Optional commit ID with an optional sequence of relative lookups. Relative lookups can be by-timestamp, by-n-th-predecessor or by-n-th-parent.

      Relative lookups are only supported for REST API v2 against servers announcing Nessie specification 2.1.0 for most functionalities.

      • Lookup by timestamp starts with * followed by the numeric value of the timestamp in milliseconds since epoch.
      • Lookup by n-th predecessor starts with ~ followed by the value for the n-th commit in the commit log.
      • Lookup by n-th parent starts with ^ followed by either 1, referencing the direct parent, or 2, referencing the merge parent.

      Valid values are:

      • ~10 -> the 10th parent from the HEAD
      • 11223344~10 -> the 10th parent of the commit 11223344
      • 11223344^2 -> the merge parent of the commit 11223344
      • 11223344~10^2 -> the merge parent of the 10th parent of the commit 11223344
      • 11223344~10^1 -> the direct parent of the 10th parent of the commit 11223344 - functionally equal to 11223344~11
      • 11223344*10000000000 -> the commit in the commit log starting at 11223344 with a commit-created timestamp of 10000000000 or less.
      • *10000000000 -> the commit in the commit log starting at HEAD with a commit-created timestamp of 10000000000 or less.
      Specified by:
      hashOnRef in interface OnReferenceBuilder<GetMultipleNamespacesBuilder>