Can I create a custom backend implementation using Querydsl?
We have a in-house back开发者_高级运维-end search engine in our organisation and I'd like to use a tool like Querydsl to generate queries in a type-safe manner. Right now, it seems like the Querydsl project has delivered a number of back-end implementations (HQL, SQL, MongoDB etc.) and thus I assume there must be the flexibility to build one's own.
Anyone had any success in doing this?
I work for the company behind Querydsl and one of my first tasks here was to implement Querydsl support for Lucene. I got a working query serialization done in about a week and most of that time was spent on understanding Lucene. So yes I would say it is pretty easy to extend Querydsl.
I recommend having a look at Querydsl MongoDB. It is our newest module, contains pretty much everything you need to know and it is also quite easy to grasp because it has under 10 classes.
We patrol Stack Overflow frequently but we also have forum http://source.mysema.com/forum/mvnforum/index which might serve you better.
精彩评论