public class CompoundQueryFactory extends Object implements QueryFactory
CompoundQueryFactoryimplements a query factory that consists of multiple other query factories.
|Constructor and Description|
Creates a compound query factory that consists of multiple other query factories.
|Modifier and Type||Method and Description|
Creates a JCR query instance from the given
public CompoundQueryFactory(List<QueryFactory> factories)
factories- the query factories.
public List<String> getSupportedLanguages()
public Query createQuery(String statement, String language) throws InvalidQueryException, RepositoryException
statementin the given
statement- the query statement.
language- the language of the query statement.
InvalidQueryException- if the statement is malformed or the language is not supported.
RepositoryException- if another error occurs.
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.