Class StatementExecutor

java.lang.Object
com.tangosol.coherence.dslquery.StatementExecutor

public class StatementExecutor extends Object
A class that parses and executes CohQL statements read from an instance of a Reader.
Author:
jk 2014.08.06
  • Constructor Details

    • StatementExecutor

      public StatementExecutor()
      Create a StatementExecutor
  • Method Details

    • execute

      public Object execute(Reader reader, ExecutionContext ctx)
      Parse and execute all of the CohQL statements read from the specified Reader.
      Parameters:
      reader - the Reader containing the statements to execute
      ctx - the ExecutionContext that will be used
      Returns:
      the result of the last statement executed