Package io.inversion.elasticsearch
Class WrappedQueryBuilder
- java.lang.Object
-
- io.inversion.elasticsearch.WrappedQueryBuilder
-
public class WrappedQueryBuilder extends java.lang.ObjectAt 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.QueryBuildergetBuilder()java.lang.StringgetNestedPath()booleanhasNestedPath()voidsetBuilder(org.elasticsearch.index.query.QueryBuilder builder)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-