Class PageProviderQueryBuilder

java.lang.Object
org.nuxeo.elasticsearch.query.PageProviderQueryBuilder

public class PageProviderQueryBuilder extends Object
Elasticsearch query builder for Native Page provider.
  • 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

      protected static String convertParam(Object param, boolean quote)
      Convert a params for fixed part
    • isNonNullParam

      protected static boolean isNonNullParam(Object[] val)