Skip to content

Bean SearcherJava Declarative Search Framework

The GraphQL of REST APIs — entities define search boundaries, parameters drive queries, one line of code for endless query combinations

GraphQL for REST APIs
No special protocol. No changing your HTTP habits. One line of code — free combination of any field's filtering, sorting, pagination, and statistics.

java
@RestController
@RequestMapping("/user")
public class UserController {

    @Autowired
    private BeanSearcher beanSearcher;               // Inject the Searcher

    @GetMapping("/index")
    public SearchResult<User> index() {
        // Only one line of code, including paging, combination filtering, arbitrary field sorting, and even statistics, multi-table joint search complex search functions
        return beanSearcher.search(User.class); 
    }

}

Advertisers refuse to join the group


赞助者
开源推荐
Solon - Java“生态型”应用开发框架:更快、更小、更简单。MyBatis-Plus - MyBatis 最佳搭档,只做增强不做改变,为简化开发、提高效率而生。Sa-Token 一个轻量级 java 权限认证框架,让鉴权变得简单、优雅!LiteFlow 🚀 轻量,快速,稳定可编排的组件式规则引擎。Forest - 声明式与编程式双修,让天下没有难以发送的 HTTP 请求!OkHttps - 非常好用的 HTTP 客户端。

Released under the Apache License