Package ca.uqac.lif.cep.jdbc
Interface Interpreter
-
public interface InterpreterGeneric object that can be used to parse string "queries" and return an iterable result
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInterpreter.ParseExceptionAn exception thrown if the query cannot be parsed by the interpreter
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ca.uqac.lif.cep.PullableexecuteQuery(java.lang.String query)Executes a queryvoidreset()Resets the state of the interpreter
-
-
-
Method Detail
-
reset
void reset()
Resets the state of the interpreter
-
executeQuery
ca.uqac.lif.cep.Pullable executeQuery(java.lang.String query) throws Interpreter.ParseExceptionExecutes a query- Parameters:
query- A string representing the query to execute- Returns:
- A pullable that can be used to fetch the results of the query
- Throws:
Interpreter.ParseException- An exception thrown if the query cannot be parsed by the interpreter
-
-