public interface QueryProcessorIF
| Modifier and Type | Method and Description |
|---|---|
QueryResultIF |
execute(String query)
PUBLIC: Parses and executes the query, returning the results.
|
QueryResultIF |
execute(String query,
DeclarationContextIF context)
PUBLIC: Parses and executes the query in the given context,
returning the results.
|
QueryResultIF |
execute(String query,
Map<String,?> arguments)
PUBLIC: Parses and executes the query binding the parameters in
the query to the values given in the 'arguments' map, returning
the results.
|
QueryResultIF |
execute(String query,
Map<String,?> arguments,
DeclarationContextIF context)
PUBLIC: Parses and executes the query in the given context
binding the parameters in the query to the values given in the
'arguments' map, returning the results.
|
void |
load(Reader ruleset)
Deprecated.
use rule import declaration instead, or contexts
|
void |
load(String ruleset)
Deprecated.
use rule import declaration instead, or contexts
|
ParsedQueryIF |
parse(String query)
PUBLIC: Parses the query, returning an object representing the
result.
|
ParsedQueryIF |
parse(String query,
DeclarationContextIF context)
PUBLIC: Parses the query in the given context, returning an
object representing the result.
|
ParsedModificationStatementIF |
parseUpdate(String statement)
PUBLIC: Parses the update statement, returning an object
representing the result.
|
ParsedModificationStatementIF |
parseUpdate(String statement,
DeclarationContextIF context)
PUBLIC: Parses the update statement in the given context,
returning an object representing the result.
|
int |
update(String query)
PUBLIC: Runs the update statement, returning the number of
modified objects.
|
int |
update(String query,
DeclarationContextIF context)
PUBLIC: Runs the update statement in the given declaration
context, returning the number of modified objects.
|
int |
update(String query,
Map<String,?> arguments)
PUBLIC: Runs the update statement with the given parameters,
returning the number of modified objects.
|
int |
update(String query,
Map<String,?> arguments,
DeclarationContextIF context)
PUBLIC: Runs the update statement in the given declaration
context with the given parameters, returning the number of
modified objects.
|
QueryResultIF execute(String query) throws InvalidQueryException
InvalidQueryExceptionQueryResultIF execute(String query, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryExceptionQueryResultIF execute(String query, Map<String,?> arguments) throws InvalidQueryException
InvalidQueryExceptionQueryResultIF execute(String query, Map<String,?> arguments, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryExceptionint update(String query) throws InvalidQueryException
InvalidQueryExceptionint update(String query, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryExceptionint update(String query, Map<String,?> arguments) throws InvalidQueryException
InvalidQueryExceptionint update(String query, Map<String,?> arguments, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryExceptionParsedQueryIF parse(String query) throws InvalidQueryException
InvalidQueryExceptionParsedQueryIF parse(String query, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryExceptionParsedModificationStatementIF parseUpdate(String statement) throws InvalidQueryException
InvalidQueryExceptionParsedModificationStatementIF parseUpdate(String statement, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryExceptionvoid load(String ruleset) throws InvalidQueryException
InvalidQueryExceptionvoid load(Reader ruleset) throws InvalidQueryException, IOException
InvalidQueryExceptionIOException