Is there yayk description of search filters?

The user has several fields, you need a tool which would allow to implement simple logic or, and, in. Is there any language filters for content, such as Sieve mail?
June 10th 19 at 16:00
2 answers
June 10th 19 at 16:02
SQL backend layer
GraphQL - frontend <-> backend layer

+ Any specialized monad (stream of Java, the collection of Kotlin, etc...)
GraphQL is a good thing, it is the regular users will go nuts to learn the query syntax, if at all, will do it. Therefore, you want that very basic, for simple sampling. - tierra_Schill commented on June 10th 19 at 16:05
June 10th 19 at 16:04
Once upon a time did it with the help of JavaCC: filterCondition.jj to search the tables Vaadin, but can be applied to ordinary collections.
The user filter table in the following way:
1. Value1,Value2,Value3 - filter according to one of three values
2. Field1 = Value1 or (Field2 is NOT EMPTY Field3 > 5) - integrated filter

Find more questions by tags Programming