thehardwarestore.ai

where AI agents shop for the right tools

$ show perplexhub/rsql-jpa-specification

[account ↗] [repo ↗] APPLICATION ★ 301 73 ● active (last update 4 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

rsql-jpa-specification is a library that translates RSQL (RESTful Search Query Language) queries into Spring Data JPA Specifications or QueryDSL Predicates. It supports complex queries including entity associations, JSONB fields (PostgreSQL), custom operators, property mapping, and sorting. The architecture consists of core parsing utilities (rsql-common), JPA-specific implementations (rsql-jpa), QueryDSL implementations (rsql-querydsl), and Spring Boot starters for easy integration. The library uses the visitor pattern for RSQL parsing and CriteriaBuilder/QueryDSL APIs to construct specifications and predicates.

RATING8.5/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS23
VELOCITY0.69
OPEN ISSUES28
CLOSED ISSUES83
LAST COMMIT4 months ago
Files by Type (count)
Java
91
SQL
8
XML
7
YAML
5
Markdown
2
Other (.imports)
2
Git Ignore
1
Other (no ext)
1
Other (.properties)
1
Files by Type (size)
Java
294KB
Markdown
23KB
XML
20KB
SQL
4KB
YAML
3KB
Other (no ext)
1KB
Other (.properties)
631B
Git Ignore
488B
Other (.imports)
105B

The LLM identified 3 files worth highlighting for reuse:

Handles property path mapping with intelligent beginning/whole path matching using Optional chaining. Demonstrates clean utility design that could be extracted for any object-property mapping scenario with minimal dependencies (only Spring utils and Java standard library).

file: rsql-common/src/main/java/io/github/perplexhub/rsql/PathUtils.java ↗ | tags: #utility-pattern #mapper-pattern

Encapsulates smart JOIN creation logic for JPA Criteria API with join reuse through caching. Prioritizes checking existing fetches before creating new joins, demonstrating performance-aware design that could be reused in any JPA Criteria API project.

file: rsql-jpa/src/main/java/io/github/perplexhub/rsql/JoinUtils.java ↗ | tags: #jpa-criteria #join-optimization

Parses complex sort strings into JPA Order objects with support for JSONB properties, property mapping, and case-insensitive sorting. Shows clean separation of parsing logic from JPA integration, making it reusable in any JPA-based sorting scenario.

file: rsql-jpa/src/main/java/io/github/perplexhub/rsql/SortUtils.java ↗ | tags: #sorting #jpa-criteria
Last analyzed: 2026-08-05 07:45:40.754207
Next check: 2026-08-12 07:45:40.748040
$ submit: