public abstract class QueryEngineImpl extends java.lang.Object implements QueryEngine
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryEngineImpl.QuerySelectionMode
Used to instruct the
QueryEngineImpl on how to act with respect of the SQL2
optimisation. |
INTERNAL_SQL2_QUERY, NO_BINDINGS, NO_MAPPINGS| Constructor and Description |
|---|
QueryEngineImpl() |
| Modifier and Type | Method and Description |
|---|---|
Result |
executeQuery(java.lang.String statement,
java.lang.String language,
long limit,
long offset,
java.util.Map<java.lang.String,? extends PropertyValue> bindings,
java.util.Map<java.lang.String,java.lang.String> mappings)
Execute a query and get the result.
|
Result |
executeQuery(java.lang.String statement,
java.lang.String language,
java.util.Map<java.lang.String,? extends PropertyValue> bindings,
java.util.Map<java.lang.String,java.lang.String> mappings)
Execute a query and get the result.
|
java.util.List<java.lang.String> |
getBindVariableNames(java.lang.String statement,
java.lang.String language,
java.util.Map<java.lang.String,java.lang.String> mappings)
Parse the query (check if it's valid) and get the list of bind variable names.
|
java.util.Set<java.lang.String> |
getSupportedQueryLanguages()
Get the set of supported query languages.
|
public java.util.Set<java.lang.String> getSupportedQueryLanguages()
QueryEnginegetSupportedQueryLanguages in interface QueryEnginepublic java.util.List<java.lang.String> getBindVariableNames(java.lang.String statement,
java.lang.String language,
java.util.Map<java.lang.String,java.lang.String> mappings)
throws java.text.ParseException
getBindVariableNames in interface QueryEnginestatement - query statementlanguage - query languagemappings - namespace prefix mappingsjava.text.ParseExceptionpublic Result executeQuery(java.lang.String statement, java.lang.String language, java.util.Map<java.lang.String,? extends PropertyValue> bindings, java.util.Map<java.lang.String,java.lang.String> mappings) throws java.text.ParseException
QueryEngineexecuteQuery in interface QueryEnginestatement - the query statementlanguage - the languagebindings - the bind variable value bindingsmappings - namespace prefix mappingsjava.text.ParseException - if the statement could not be parsedpublic Result executeQuery(java.lang.String statement, java.lang.String language, long limit, long offset, java.util.Map<java.lang.String,? extends PropertyValue> bindings, java.util.Map<java.lang.String,java.lang.String> mappings) throws java.text.ParseException
QueryEngineexecuteQuery in interface QueryEnginestatement - 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 mappingsjava.text.ParseException - if the statement could not be parsed"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"