jnosql icon indicating copy to clipboard operation
jnosql copied to clipboard

Standardize Criteria Query and Introduce KeySet Pagination

Open otaviojava opened this issue 1 year ago • 0 comments

Which JNoSQL project the issue refers to?

JNoSQL (Core)

Use case

Currently, the project has separate classes for DocumentQuery and ColumnQuery, as well as DocumentDeleteQuery and ColumnDeleteQuery, which contain similar fields. The objective is to unify these classes into two shared API classes: SelectQuery and DeleteQuery.

This unification will pave the way for implementing KeySet pagination and enhancing the CriteriaQuery functionality.

Feature proposal

Objective:

  • Unify DocumentQuery and ColumnQuery into SelectQuery.
  • Unify DocumentDeleteQuery and ColumnDeleteQuery into DeleteQuery.
  • Implement KeySet pagination.
  • Enhance CriteriaQuery.

Expected Outcome:

  • Reduced code duplication by unifying query classes.
  • Introduction of KeySet pagination feature for efficient large dataset retrieval.
  • Improved CriteriaQuery functionality for more flexible and powerful querying operations.

otaviojava avatar Feb 28 '24 06:02 otaviojava