GithubHelp home page GithubHelp logo

jimmy-shi / bean-query Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 15.0 123 KB

Bean Query reuses Apache Commons BeanUtils, Apache Commons Collections, Java Hamcrest to make sorting, filtering and converting a (collection of) java bean(s) easily. Bean Query 复用Apache Commons BeanUtils, Apache Commons Collections, Java Hamcrest 来简化对Bean(集合)的排序,过滤和转换。

License: Apache License 2.0

Java 100.00%

bean-query's People

Contributors

jimmy-shi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bean-query's Issues

orderBy("name").desc()

orderBy("name").desc().orderBy("other").desc(); 能支持常见的多字段排序就好了。

使用过程中,报错 类加载不到

image
temp = select(PayMessageBean.class) .where( allOf(value("payDateTime", greaterThan(start)), value("payDateTime", lessThan(end))) ).executeFrom(pmbs);
payDateTime是毫秒数,,,,筛选在start和end之间的数据.

Allow format result into a map

when do select(nested("a1, a2.b, a2.c")). The result item should contains entry with key a2 and value is a map with key b and c. In a json view, the result item should be:

{
  "a1":"value of a1",
  "a2":{
    "b":"value of a2.b",
    "c":"value of a2.c"
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.