public abstract class QueryEngineImpl extends Object implements QueryEngine
INTERNAL_SQL2_QUERY, NO_BINDINGS, NO_MAPPINGS
Constructor and Description |
---|
QueryEngineImpl() |
Modifier and Type | Method and Description |
---|---|
Result |
executeQuery(String statement,
String language,
long limit,
long offset,
Map<String,? extends PropertyValue> bindings,
Map<String,String> mappings)
Execute a query and get the result.
|
List<String> |
getBindVariableNames(String statement,
String language,
Map<String,String> mappings)
Parse the query (check if it's valid) and get the list of bind variable names.
|
Set<String> |
getSupportedQueryLanguages()
Get the set of supported query languages.
|
public Set<String> getSupportedQueryLanguages()
QueryEngine
getSupportedQueryLanguages
in interface QueryEngine
public List<String> getBindVariableNames(String statement, String language, Map<String,String> mappings) throws ParseException
getBindVariableNames
in interface QueryEngine
statement
- query statementlanguage
- query languagemappings
- namespace prefix mappingsParseException
public Result executeQuery(String statement, String language, long limit, long offset, Map<String,? extends PropertyValue> bindings, Map<String,String> mappings) throws ParseException
QueryEngine
executeQuery
in interface QueryEngine
statement
- the query statementlanguage
- the languagelimit
- the maximum result set size (may not be negative)offset
- the number of rows to skip (may not be negative)bindings
- the bind variable value bindingsmappings
- namespace prefix mappingsParseException
- if the statement could not be parsed"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"