-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for cursor pagination (#3262)
* Add parameters for cursor based pagination * Implement keyset pagination * Cursor support for id obfuscation --------- Co-authored-by: Aaron Klish <[email protected]>
- Loading branch information
1 parent
f34cb9b
commit 4b5667b
Showing
35 changed files
with
2,141 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
elide-core/src/main/java/com/yahoo/elide/annotation/PaginationMode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2024, the original author or authors. | ||
* Licensed under the Apache License, Version 2.0 | ||
* See LICENSE file in project root for terms. | ||
*/ | ||
package com.yahoo.elide.annotation; | ||
|
||
/** | ||
* Pagination Mode. | ||
*/ | ||
public enum PaginationMode { | ||
/** | ||
* Offset Pagination. | ||
*/ | ||
OFFSET, | ||
/** | ||
* Cursor Pagination. | ||
*/ | ||
CURSOR | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.