public class CapturingQueryMaker extends Object implements QueryMaker
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CapturingQueryMaker.Captured  | 
QueryMaker.Query, QueryMaker.QueryCannotMatchException| Constructor and Description | 
|---|
CapturingQueryMaker()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
accepts(String queryType)
Checks if this query maker accepts a given query. 
 | 
QueryMaker.Query | 
buildQuery(SQLInfo sqlInfo,
          Model model,
          Session.PathResolver pathResolver,
          String query,
          QueryFilter queryFilter,
          Object... params)
Builds the query. 
 | 
String | 
getName()
Gets the name for this query maker. 
 | 
public static final String TYPE
public CapturingQueryMaker()
public String getName()
QueryMakergetName in interface QueryMakerpublic boolean accepts(String queryType)
QueryMakerCalled first.
accepts in interface QueryMakerqueryType - the querytrue if the query is acceptedpublic QueryMaker.Query buildQuery(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params)
QueryMakerbuildQuery in interface QueryMakersqlInfo - the sql infomodel - the modelpathResolver - the path resolverquery - the queryqueryFilter - the query filterparams - additional parameters, maker-specificCopyright © 2019 Nuxeo. All rights reserved.