Package org.nuxeo.elasticsearch.query
Class PageProviderQueryBuilder
- java.lang.Object
-
- org.nuxeo.elasticsearch.query.PageProviderQueryBuilder
-
public class PageProviderQueryBuilder extends Object
Elasticsearch query builder for Native Page provider.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static String
convertParam(Object param, boolean quote)
Convert a params for fixed partprotected static boolean
isNonNullParam(Object[] val)
static org.elasticsearch.index.query.QueryBuilder
makeQuery(String pattern, Object[] params, boolean quotePatternParameters, boolean escapePatternParameters, boolean useNativeQuery)
Create a ES request from a PP patternstatic org.elasticsearch.index.query.QueryBuilder
makeQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery)
Create a ES request from a PP whereClausestatic org.elasticsearch.index.query.QueryBuilder
makeQuery(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery)
-
-
-
Method Detail
-
makeQuery
public static org.elasticsearch.index.query.QueryBuilder makeQuery(String pattern, Object[] params, boolean quotePatternParameters, boolean escapePatternParameters, boolean useNativeQuery)
Create a ES request from a PP pattern
-
makeQuery
public static org.elasticsearch.index.query.QueryBuilder makeQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery)
Create a ES request from a PP whereClause
-
makeQuery
public static org.elasticsearch.index.query.QueryBuilder makeQuery(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery)
- Since:
- 8.4
-
convertParam
protected static String convertParam(Object param, boolean quote)
Convert a params for fixed part
-
isNonNullParam
protected static boolean isNonNullParam(Object[] val)
-
-