Package org.projectnessie.client.builder
Class BaseGetContentBuilder
java.lang.Object
org.projectnessie.client.builder.BaseGetContentBuilder
- All Implemented Interfaces:
GetContentBuilder,OnReferenceBuilder<GetContentBuilder>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional commit ID with an optional sequence of relative lookups.key(org.projectnessie.model.ContentKey key) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projectnessie.client.api.GetContentBuilder
get, getSingle, getWithResponseMethods inherited from interface org.projectnessie.client.api.OnReferenceBuilder
hashOnRef, reference, refName
-
Field Details
-
request
protected final org.projectnessie.model.ImmutableGetMultipleContentsRequest.Builder request -
refName
-
hashOnRef
-
-
Constructor Details
-
BaseGetContentBuilder
public BaseGetContentBuilder()
-
-
Method Details
-
key
- Specified by:
keyin interfaceGetContentBuilder
-
keys
- Specified by:
keysin interfaceGetContentBuilder
-
refName
- Specified by:
refNamein interfaceOnReferenceBuilder<R extends OnReferenceBuilder<R>>
-
hashOnRef
Description copied from interface:OnReferenceBuilderOptional 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
v2against servers announcingNessie specification2.1.0for 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 theHEAD11223344~10-> the 10th parent of the commit1122334411223344^2-> the merge parent of the commit1122334411223344~10^2-> the merge parent of the 10th parent of the commit1122334411223344~10^1-> the direct parent of the 10th parent of the commit11223344- functionally equal to11223344~1111223344*10000000000-> the commit in the commit log starting at11223344with a commit-created timestamp of 10000000000 or less.*10000000000-> the commit in the commit log starting atHEADwith a commit-created timestamp of 10000000000 or less.
- Specified by:
hashOnRefin interfaceOnReferenceBuilder<R extends OnReferenceBuilder<R>>
- Lookup by timestamp starts with
-