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 Classes Modifier and Type Interface Description static class
Interpreter.ParseException
An 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.Pullable
executeQuery(java.lang.String query)
Executes a queryvoid
reset()
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.ParseException
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
-
-