Class WrappedQueryBuilder

java.lang.Object
io.inversion.elasticsearch.WrappedQueryBuilder

public class WrappedQueryBuilder extends 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 Details

    • WrappedQueryBuilder

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

    • getBuilder

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

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

      public String getNestedPath()
    • hasNestedPath

      public boolean hasNestedPath()
    • toString

      public String toString()
      Overrides:
      toString in class Object