Package com.tangosol.coherence.dslquery
Class StatementExecutor
java.lang.Object
com.tangosol.coherence.dslquery.StatementExecutor
A class that parses and executes CohQL statements read from
an instance of a
Reader
.- Author:
- jk 2014.08.06
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(Reader reader, ExecutionContext ctx) Parse and execute all of the CohQL statements read from the specifiedReader
.
-
Constructor Details
-
StatementExecutor
public StatementExecutor()Create a StatementExecutor
-
-
Method Details
-
execute
Parse and execute all of the CohQL statements read from the specifiedReader
.- Parameters:
reader
- theReader
containing the statements to executectx
- theExecutionContext
that will be used- Returns:
- the result of the last statement executed
-