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 QueryManager
RepositoryException
public QueryObjectModelFactory getQOMFactory()
getQOMFactory
in interface QueryManager
public Query getQuery(Node node) throws RepositoryException
getQuery
in interface QueryManager
RepositoryException
public String[] getSupportedQueryLanguages() throws RepositoryException
getSupportedQueryLanguages
in interface QueryManager
RepositoryException
public List<String> parse(String statement, String language) throws InvalidQueryException
statement
- the query statementlanguage
- the query languageInvalidQueryException
public QueryResult executeQuery(String statement, String language, long limit, long offset, HashMap<String,Value> bindVariableMap) throws RepositoryException
RepositoryException
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.