public interface QueryFactory
QueryFactory defines a simple interface for turning a statement
in a given language into a JCR Query instance.| Modifier and Type | Method and Description |
|---|---|
Query |
createQuery(String statement,
String language)
Creates a JCR query instance from the given
statement in the
given language. |
List<String> |
getSupportedLanguages() |
List<String> getSupportedLanguages()
Query createQuery(String statement, String language) throws InvalidQueryException, RepositoryException
statement in the
given language.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–2024 The Apache Software Foundation. All rights reserved.