Package ca.uqac.lif.cep.jdbc
Interface Interpreter
public interface Interpreter
Generic object that can be used to parse string "queries" and
return an iterable result
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn exception thrown if the query cannot be parsed by the interpreter -
Method Summary
Modifier and TypeMethodDescriptionca.uqac.lif.cep.PullableexecuteQuery(String query) Executes a queryvoidreset()Resets the state of the interpreter
-
Method Details
-
reset
void reset()Resets the state of the interpreter -
executeQuery
Executes 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
-