eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standardize Criteria Query and Introduce KeySet Pagination

otaviojava opened this issue · 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.