xapi-java icon indicating copy to clipboard operation
xapi-java copied to clipboard

Use repository paging for statement retrieval

Open thomasturrell opened this issue 3 months ago • 5 comments

Summary

  • add a stored timestamp column to statements for efficient ordering and filtering
  • paginate statement retrieval directly in the repository using sorted slices and page-based tokens
  • persist stored timestamps when saving single or multiple statements

Testing

  • ./mvnw -pl samples/xapi-server test (fails: wget cannot fetch Maven distribution in this environment)

Codex Task

thomasturrell avatar Nov 20 '25 23:11 thomasturrell

@copilot can you fix up this pr so that it builds and the tests run

thomasturrell avatar Nov 21 '25 13:11 thomasturrell

@thomasturrell I've opened a new pull request, #405, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot avatar Nov 21 '25 13:11 Copilot

@copilot can you take another look at this pull request. Use maven clean install first to understand the current state

thomasturrell avatar Nov 21 '25 23:11 thomasturrell

@thomasturrell I've opened a new pull request, #406, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot avatar Nov 21 '25 23:11 Copilot