public class QueryManagerImpl extends Object implements QueryManager
| Constructor and Description |
|---|
QueryManagerImpl(SessionContext sessionContext) |
| Modifier and Type | Method and Description |
|---|---|
QueryImpl |
createQuery(String statement,
String language) |
QueryResult |
executeQuery(String statement,
String language,
long limit,
long offset,
HashMap<String,Value> bindVariableMap) |
QueryObjectModelFactory |
getQOMFactory() |
Query |
getQuery(Node node) |
String[] |
getSupportedQueryLanguages() |
List<String> |
parse(String statement,
String language)
Parse the query and get the bind variable names.
|
public QueryManagerImpl(SessionContext sessionContext)
public QueryImpl createQuery(String statement, String language) throws RepositoryException
createQuery in interface QueryManagerRepositoryExceptionpublic QueryObjectModelFactory getQOMFactory()
getQOMFactory in interface QueryManagerpublic Query getQuery(Node node) throws RepositoryException
getQuery in interface QueryManagerRepositoryExceptionpublic String[] getSupportedQueryLanguages() throws RepositoryException
getSupportedQueryLanguages in interface QueryManagerRepositoryExceptionpublic List<String> parse(String statement, String language) throws InvalidQueryException
statement - the query statementlanguage - the query languageInvalidQueryExceptionpublic QueryResult executeQuery(String statement, String language, long limit, long offset, HashMap<String,Value> bindVariableMap) throws RepositoryException
RepositoryExceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.