Constructor and Description |
---|
StatementExecutor()
Create a StatementExecutor
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(Reader reader,
ExecutionContext ctx)
Parse and execute all of the CohQL statements read from the specified
Reader . |
public Object execute(Reader reader, ExecutionContext ctx)
Reader
.reader
- the Reader
containing the statements to executectx
- the ExecutionContext
that will be used