Class WrappedQueryBuilder


  • public class WrappedQueryBuilder
    extends java.lang.Object
    At the time of this writing, Elastic NestedQueryBuilders do not give access to the nested path once created. This makes it impossible to create a multi-nested query from the inside out, which is how Inversion RQL is translated. Therefore, this class was created to maintain access to data used to create the QueryBuilder
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedQueryBuilder​(org.elasticsearch.index.query.QueryBuilder qb, io.inversion.rql.Term t, java.lang.String path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.elasticsearch.index.query.QueryBuilder getBuilder()  
      java.lang.String getNestedPath()  
      boolean hasNestedPath()  
      void setBuilder​(org.elasticsearch.index.query.QueryBuilder builder)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WrappedQueryBuilder

        public WrappedQueryBuilder​(org.elasticsearch.index.query.QueryBuilder qb,
                                   io.inversion.rql.Term t,
                                   java.lang.String path)
    • Method Detail

      • getBuilder

        public org.elasticsearch.index.query.QueryBuilder getBuilder()
      • setBuilder

        public void setBuilder​(org.elasticsearch.index.query.QueryBuilder builder)
      • getNestedPath

        public java.lang.String getNestedPath()
      • hasNestedPath

        public boolean hasNestedPath()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object