Class SanityCheckStatementBuilder.SanityCheckQueryPlusStatement

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

public class SanityCheckStatementBuilder.SanityCheckQueryPlusStatement extends AbstractQueryPlusStatementBuilder.AbstractStatement
A class representing the QueryPlus "SANITY CHECK" command.
  • Field Details

    • f_fSanity

      protected final boolean f_fSanity
      Flag indicating whether this command turns sanity checking on or off.
  • Constructor Details

    • SanityCheckQueryPlusStatement

      protected SanityCheckQueryPlusStatement(boolean fSanity)
      Construct a SanityCheckQueryPlusStatement to turn on or off QueryPlus sanity checks.
      Parameters:
      fSanity - true to turn on sanity checking, 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