Class UpdateStatementBuilder

All Implemented Interfaces:
StatementBuilder<UpdateStatementBuilder.UpdateStatement>

public class UpdateStatementBuilder extends AbstractStatementBuilder<UpdateStatementBuilder.UpdateStatement>
An implementation of a StatementBuilder that parses a CohQL term tree to produce an instance of a UpdateStatementBuilder.UpdateStatement.
Since:
Coherence 12.2.1
Author:
jk 2013.12.17
  • Field Details

  • Constructor Details

    • UpdateStatementBuilder

      public UpdateStatementBuilder()
  • Method Details

    • realize

      public UpdateStatementBuilder.UpdateStatement realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
      Description copied from interface: StatementBuilder
      Realizes an implementation of a Statement that can be executed to perform a specific CohQL command.
      Parameters:
      ctx - the ExecutionContext to use to create commands
      term - the parsed NodeTerm used to create the relevant Statement
      listBindVars - the indexed bind variables
      namedBindVars - the named bind variables
      Returns:
      an executable instance of a Statement
    • getSyntax

      public String getSyntax()
      Description copied from interface: StatementBuilder
      Return the syntax of the CohQL command.
      Returns:
      the syntax of the CohQL command
    • getDescription

      public String getDescription()
      Description copied from interface: StatementBuilder
      Return a description of the CohQL command suitable for displaying as help text.
      Returns:
      a description of the CohQL command suitable for displaying as help text
    • createUpdateSetListMaker

      protected com.tangosol.coherence.dslquery.internal.UpdateSetListMaker createUpdateSetListMaker(ExecutionContext context, List listBindVars, ParameterResolver namedBindVars)
      Create an instance of an UpdateSetListMaker.
      Parameters:
      context - the ExecutionContext to use to configure the UpdateSetListMaker
      listBindVars - the indexed bind variables that the SelectListMaker should use
      namedBindVars - the named bind variables that the SelectListMaker should use
      Returns:
      an UpdateSetListMaker