Class TraceStatementBuilder.TraceQueryPlusStatement

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

public class TraceStatementBuilder.TraceQueryPlusStatement extends AbstractQueryPlusStatementBuilder.AbstractStatement
A command that turns on or off QueryPlus trace.
  • Field Details

    • m_fTrace

      protected boolean m_fTrace
      Flag indicating whether this command turns trace on or off.
  • Constructor Details

    • TraceQueryPlusStatement

      protected TraceQueryPlusStatement(boolean fTrace)
      Construct a command to turn on or off QueryPlus tracing.
      Parameters:
      fTrace - true to turn trace on, false to turn it off
  • 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