Class SearchQueryProvider

  • All Implemented Interfaces:
    FilterVisitor<String>

    public class SearchQueryProvider
    extends Object
    implements FilterVisitor<String>
    Here we store the search queries in the class-path in the form of Freemarker templates and use the templating to perform the parameter substitution. This makes it cleaner than storing the search queries as multiline strings in Java code, and is much less verbose than storing these as POJOs.