Package com.collibra.dgc.core.api.dto
Class CursorPagedRequest
Object
PagedRequest
CursorPagedRequest
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FindAssetsRequest,FindAttributesRequest,FindCommunitiesRequest,FindComplexRelationsRequest,FindDomainsRequest,FindRelationsRequest
Request that supports cursor paging parameter.
- See Also:
-
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCursorPagedRequest(String cursor, int offset, int limit) protectedCursorPagedRequest(String cursor, int offset, int limit, int countLimit) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintDeprecated, for removal: This API element is subject to removal in a future version.use cursor paginationCursor for the current page of results.intDeprecated, for removal: This API element is subject to removal in a future version.use cursor paginationinthashCode()voidsetCountLimit(int countLimit) Deprecated, for removal: This API element is subject to removal in a future version.use cursor paginationvoidCursor for the current page of results.voidsetOffset(int offset) Deprecated, for removal: This API element is subject to removal in a future version.use cursor paginationtoString()Methods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
CursorPagedRequest
-
CursorPagedRequest
-
CursorPagedRequest
public CursorPagedRequest()
-
-
Method Details
-
getOffset
Deprecated, for removal: This API element is subject to removal in a future version.use cursor paginationDescription copied from class:PagedRequestThe first result to retrieve. If not set (offset =0), results will be retrieved starting from row0.- Overrides:
getOffsetin classPagedRequest
-
setOffset
Deprecated, for removal: This API element is subject to removal in a future version.use cursor paginationDescription copied from class:PagedRequestThe first result to retrieve. If not set (offset =0), results will be retrieved starting from row0.- Overrides:
setOffsetin classPagedRequest
-
getCountLimit
Deprecated, for removal: This API element is subject to removal in a future version.use cursor paginationDescription copied from class:PagedRequestAllows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped- Overrides:
getCountLimitin classPagedRequest
-
setCountLimit
Deprecated, for removal: This API element is subject to removal in a future version.use cursor paginationDescription copied from class:PagedRequestAllows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped- Overrides:
setCountLimitin classPagedRequest
-
getCursor
Cursor for the current page of results. To retrieve the first page with cursor pagination you need to pass this parameter with an empty value. For the next pages, the value must be taken from the response (nextCursorproperty). -
setCursor
Cursor for the current page of results. To retrieve the first page with cursor pagination you need to pass this parameter with an empty value. For the next pages, the value must be taken from the response (nextCursorproperty). -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-