Package org.nuxeo.elasticsearch.query
Class PageProviderQueryBuilder
java.lang.Object
org.nuxeo.elasticsearch.query.PageProviderQueryBuilder
Elasticsearch query builder for Native Page provider.
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
convertParam
(Object param, boolean quote) Convert a params for fixed partprotected static boolean
isNonNullParam
(Object[] val) static org.opensearch.index.query.QueryBuilder
makeQuery
(String pattern, Object[] params, boolean quotePatternParameters, boolean escapePatternParameters, boolean useNativeQuery) Create a ES request from a PP patternstatic org.opensearch.index.query.QueryBuilder
makeQuery
(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery) Create a ES request from a PP whereClausestatic org.opensearch.index.query.QueryBuilder
makeQuery
(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery)
-
Method Details
-
makeQuery
public static org.opensearch.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.opensearch.index.query.QueryBuilder makeQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery) Create a ES request from a PP whereClause -
makeQuery
public static org.opensearch.index.query.QueryBuilder makeQuery(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery) - Since:
- 8.4
-
convertParam
Convert a params for fixed part -
isNonNullParam
-