Class BaseDeleteNamespaceBuilder

    • Field Detail

      • namespace

        protected org.projectnessie.model.Namespace namespace
      • refName

        protected java.lang.String refName
      • hashOnRef

        protected java.lang.String hashOnRef
      • commitMeta

        protected org.projectnessie.model.CommitMeta commitMeta
    • Constructor Detail

      • BaseDeleteNamespaceBuilder

        public BaseDeleteNamespaceBuilder()
    • Method Detail

      • hashOnRef

        public DeleteNamespaceBuilder hashOnRef​(@Nullable @Nullable
                                                java.lang.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<DeleteNamespaceBuilder>