|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryProcessorIF
PUBLIC: This is the interface that must be implemented by tolog query processors. It is used by client applications to execute queries.
Method Summary | |
---|---|
QueryResultIF |
execute(java.lang.String query)
PUBLIC: Parses and executes the query, returning the results. |
QueryResultIF |
execute(java.lang.String query,
DeclarationContextIF context)
PUBLIC: Parses and executes the query in the given context, returning the results. |
QueryResultIF |
execute(java.lang.String query,
java.util.Map<java.lang.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(java.lang.String query,
java.util.Map<java.lang.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(java.io.Reader ruleset)
Deprecated. use rule import declaration instead, or contexts |
void |
load(java.lang.String ruleset)
Deprecated. use rule import declaration instead, or contexts |
ParsedQueryIF |
parse(java.lang.String query)
PUBLIC: Parses the query, returning an object representing the result. |
ParsedQueryIF |
parse(java.lang.String query,
DeclarationContextIF context)
PUBLIC: Parses the query in the given context, returning an object representing the result. |
ParsedModificationStatementIF |
parseUpdate(java.lang.String statement)
PUBLIC: Parses the update statement, returning an object representing the result. |
ParsedModificationStatementIF |
parseUpdate(java.lang.String statement,
DeclarationContextIF context)
PUBLIC: Parses the update statement in the given context, returning an object representing the result. |
int |
update(java.lang.String query)
PUBLIC: Runs the update statement, returning the number of modified objects. |
int |
update(java.lang.String query,
DeclarationContextIF context)
PUBLIC: Runs the update statement in the given declaration context, returning the number of modified objects. |
int |
update(java.lang.String query,
java.util.Map<java.lang.String,?> arguments)
PUBLIC: Runs the update statement with the given parameters, returning the number of modified objects. |
int |
update(java.lang.String query,
java.util.Map<java.lang.String,?> arguments,
DeclarationContextIF context)
PUBLIC: Runs the update statement in the given declaration context with the given parameters, returning the number of modified objects. |
Method Detail |
---|
QueryResultIF execute(java.lang.String query) throws InvalidQueryException
InvalidQueryException
QueryResultIF execute(java.lang.String query, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryException
QueryResultIF execute(java.lang.String query, java.util.Map<java.lang.String,?> arguments) throws InvalidQueryException
InvalidQueryException
QueryResultIF execute(java.lang.String query, java.util.Map<java.lang.String,?> arguments, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryException
int update(java.lang.String query) throws InvalidQueryException
InvalidQueryException
int update(java.lang.String query, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryException
int update(java.lang.String query, java.util.Map<java.lang.String,?> arguments) throws InvalidQueryException
InvalidQueryException
int update(java.lang.String query, java.util.Map<java.lang.String,?> arguments, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryException
ParsedQueryIF parse(java.lang.String query) throws InvalidQueryException
InvalidQueryException
ParsedQueryIF parse(java.lang.String query, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryException
ParsedModificationStatementIF parseUpdate(java.lang.String statement) throws InvalidQueryException
InvalidQueryException
ParsedModificationStatementIF parseUpdate(java.lang.String statement, DeclarationContextIF context) throws InvalidQueryException
InvalidQueryException
void load(java.lang.String ruleset) throws InvalidQueryException
InvalidQueryException
void load(java.io.Reader ruleset) throws InvalidQueryException, java.io.IOException
InvalidQueryException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |