Class WheneverStatementBuilder.WheneverQueryPlusStatement

java.lang.Object
com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder.AbstractStatement
com.tangosol.coherence.dslquery.queryplus.WheneverStatementBuilder.WheneverQueryPlusStatement
All Implemented Interfaces:
Statement
Enclosing class:
WheneverStatementBuilder

public class WheneverStatementBuilder.WheneverQueryPlusStatement extends AbstractQueryPlusStatementBuilder.AbstractStatement
The command to set the QueryPlus error action.
  • Field Details

    • m_fStopOnError

      protected boolean m_fStopOnError
      The QueryPlus error action.
  • Constructor Details

    • WheneverQueryPlusStatement

      protected WheneverQueryPlusStatement(boolean fStopOnError)
      Construct a WheneverQueryPlusStatement to set the error action.
      Parameters:
      fStopOnError - flag indicating that statement processing should stop if an error occurs
  • Method Details

    • execute

      public StatementResult execute(ExecutionContext ctx)
      Description copied from interface: Statement
      Execute a CohQL query or command and return the relevant result.
      Parameters:
      ctx - the context to use
      Returns:
      a StatementResult containing the results of executing the statement