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 |
|---|---|
javax.jcr.query.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()
javax.jcr.query.Query createQuery(String statement, String language) throws javax.jcr.query.InvalidQueryException, javax.jcr.RepositoryException
statement in the
given language.statement - the query statement.language - the language of the query statement.javax.jcr.query.InvalidQueryException - if the statement is malformed or the
language is not supported.javax.jcr.RepositoryException - if another error occurs.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.