Class LuceneQueryBuilder


  • public final class LuceneQueryBuilder
    extends java.lang.Object
    Class use to build a SQL query from part of query inside FormFilter and FormColumn
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.lucene.search.Query buildQuery​(java.util.List<IFormPanelInitializerQueryPart> listFormPanelInitializerQueryPart, java.util.List<IFormFilterQueryPart> listFormFilterQueryPart)
      Build a Lucene query from different parts from a list of FormColumn and a list of FormFilter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • buildQuery

        public static org.apache.lucene.search.Query buildQuery​(java.util.List<IFormPanelInitializerQueryPart> listFormPanelInitializerQueryPart,
                                                                java.util.List<IFormFilterQueryPart> listFormFilterQueryPart)
        Build a Lucene query from different parts from a list of FormColumn and a list of FormFilter
        Parameters:
        listFormPanelInitializerQueryPart - The list of all FormPanelInitializerQueryPart to use for built the query
        listFormFilterQueryPart - The list of FormFilterQueryPart to retrieve the where parts of the query
        Returns:
        the global lucene query build from the FormColmuns and FormFilters