public class PageProviderQueryBuilder extends Object
Modifier and Type | Method and Description |
---|---|
protected static String |
convertParam(Object param,
boolean quote)
Convert a params for fixed part
|
protected static boolean |
isNonNullParam(Object[] val) |
static org.elasticsearch.index.query.QueryBuilder |
makeQuery(DocumentModel model,
WhereClauseDefinition whereClause,
Object[] params,
boolean useNativeQuery)
Create a ES request from a PP whereClause
|
static org.elasticsearch.index.query.QueryBuilder |
makeQuery(DocumentModel model,
WhereClauseDefinition whereClause,
String additionalFixedPart,
Object[] params,
boolean useNativeQuery) |
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
|
public static org.elasticsearch.index.query.QueryBuilder makeQuery(String pattern, Object[] params, boolean quotePatternParameters, boolean escapePatternParameters, boolean useNativeQuery)
public static org.elasticsearch.index.query.QueryBuilder makeQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery)
public static org.elasticsearch.index.query.QueryBuilder makeQuery(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery)
protected static String convertParam(Object param, boolean quote)
protected static boolean isNonNullParam(Object[] val)
Copyright © 2019 Nuxeo. All rights reserved.