Package org.projectnessie.client.builder
Class BaseGetRefLogBuilder<PARAMS>
- java.lang.Object
-
- org.projectnessie.client.builder.BaseGetRefLogBuilder<PARAMS>
-
- All Implemented Interfaces:
GetRefLogBuilder,PagingBuilder<GetRefLogBuilder,org.projectnessie.model.RefLogResponse,org.projectnessie.model.RefLogResponse.RefLogResponseEntry>,QueryBuilder<GetRefLogBuilder>
@Deprecated public abstract class BaseGetRefLogBuilder<PARAMS> extends java.lang.Object implements GetRefLogBuilder
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringfilterDeprecated.protected java.lang.StringfromHashDeprecated.protected java.lang.IntegermaxRecordsDeprecated.protected java.lang.StringuntilHashDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseGetRefLogBuilder(java.util.function.BiFunction<PARAMS,java.lang.String,PARAMS> paramsForPage)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GetRefLogBuilderfilter(java.lang.String filter)Deprecated.Required: the CEL script.GetRefLogBuilderfromHash(java.lang.String fromHash)Deprecated.Hash of the reflog (inclusive) to end at (in chronological sense), the 'near' end of the reflog.org.projectnessie.model.RefLogResponseget()Deprecated.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.protected abstract org.projectnessie.model.RefLogResponseget(PARAMS p)Deprecated.GetRefLogBuildermaxRecords(int maxRecords)Deprecated.Sets the maximum number of records to be returned in a single response object from thePagingBuilder.get()method.GetRefLogBuilderpageToken(java.lang.String pageToken)Deprecated.Sets the page token from the previous'PagingBuilder.get()method invocation.protected abstract PARAMSparams()Deprecated.java.util.stream.Stream<org.projectnessie.model.RefLogResponse.RefLogResponseEntry>stream()Deprecated.Retrieve entries/results as a JavaStream, uses automatic paging.GetRefLogBuilderuntilHash(java.lang.String untilHash)Deprecated.Hash of the reflog (inclusive) to start from (in chronological sense), the 'far' end of the reflog.
-
-
-
Method Detail
-
untilHash
public GetRefLogBuilder untilHash(java.lang.String untilHash)
Deprecated.Description copied from interface:GetRefLogBuilderHash of the reflog (inclusive) to start from (in chronological sense), the 'far' end of the reflog.- Specified by:
untilHashin interfaceGetRefLogBuilder
-
fromHash
public GetRefLogBuilder fromHash(java.lang.String fromHash)
Deprecated.Description copied from interface:GetRefLogBuilderHash of the reflog (inclusive) to end at (in chronological sense), the 'near' end of the reflog.- Specified by:
fromHashin interfaceGetRefLogBuilder
-
filter
public GetRefLogBuilder filter(java.lang.String filter)
Deprecated.Description copied from interface:QueryBuilderRequired: the CEL script.- Specified by:
filterin interfaceQueryBuilder<PARAMS>
-
maxRecords
public GetRefLogBuilder maxRecords(int maxRecords)
Deprecated.Description copied from interface:PagingBuilderSets the maximum number of records to be returned in a single response object from thePagingBuilder.get()method.This setter reflects the OpenAPI parameter
maxRecordsin a paged request.- Specified by:
maxRecordsin interfacePagingBuilder<GetRefLogBuilder,org.projectnessie.model.RefLogResponse,org.projectnessie.model.RefLogResponse.RefLogResponseEntry>
-
pageToken
public GetRefLogBuilder pageToken(java.lang.String pageToken)
Deprecated.Description copied from interface:PagingBuilderSets the page token from the previous'PagingBuilder.get()method invocation. When usingPagingBuilder.stream()methods this parameter must not be set.Only for manual paging via
PagingBuilder.get()- do not call when using any of thePagingBuilder.stream()functions.This setter reflects the OpenAPI parameter
pageTokenin a paged request.- Specified by:
pageTokenin interfacePagingBuilder<GetRefLogBuilder,org.projectnessie.model.RefLogResponse,org.projectnessie.model.RefLogResponse.RefLogResponseEntry>
-
params
protected abstract PARAMS params()
Deprecated.
-
get
protected abstract org.projectnessie.model.RefLogResponse get(PARAMS p) throws org.projectnessie.error.NessieNotFoundException
Deprecated.- Throws:
org.projectnessie.error.NessieNotFoundException
-
get
public org.projectnessie.model.RefLogResponse get() throws org.projectnessie.error.NessieNotFoundExceptionDeprecated.Description 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 interfaceGetRefLogBuilder- Specified by:
getin interfacePagingBuilder<GetRefLogBuilder,org.projectnessie.model.RefLogResponse,org.projectnessie.model.RefLogResponse.RefLogResponseEntry>- Throws:
org.projectnessie.error.NessieNotFoundException
-
stream
public java.util.stream.Stream<org.projectnessie.model.RefLogResponse.RefLogResponseEntry> stream() throws org.projectnessie.error.NessieNotFoundExceptionDeprecated.Description copied from interface:PagingBuilderRetrieve entries/results as a JavaStream, uses automatic paging.- Specified by:
streamin interfacePagingBuilder<GetRefLogBuilder,org.projectnessie.model.RefLogResponse,org.projectnessie.model.RefLogResponse.RefLogResponseEntry>- Throws:
org.projectnessie.error.NessieNotFoundException
-
-