public class UpdateStatementBuilder extends AbstractStatementBuilder<UpdateStatementBuilder.UpdateStatement>
StatementBuilder
that parses a CohQL term tree to produce an instance of a UpdateStatementBuilder.UpdateStatement
.Modifier and Type | Class and Description |
---|---|
static class |
UpdateStatementBuilder.UpdateStatement
Implementation of the CohQL "UPDATE" command.
|
Modifier and Type | Field and Description |
---|---|
static UpdateStatementBuilder |
INSTANCE
An instance of a UpdateStatementBuilder.
|
Constructor and Description |
---|
UpdateStatementBuilder() |
Modifier and Type | Method and Description |
---|---|
protected UpdateSetListMaker |
createUpdateSetListMaker(ExecutionContext context,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars)
Create an instance of an
UpdateSetListMaker . |
String |
getDescription()
Return a description of the CohQL command suitable for displaying
as help text.
|
String |
getSyntax()
Return the syntax of the CohQL command.
|
UpdateStatementBuilder.UpdateStatement |
realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars)
Realizes an implementation of a
Statement that can be
executed to perform a specific CohQL command. |
atomicStringValueOf, ensureFilter, getAlias, getCacheName, getExtractor, getFields, getFile, getGroupBy, getInsertKey, getInsertValue, getIsDistinct, getSetList, getWhere, headsMatch
public static final UpdateStatementBuilder INSTANCE
public UpdateStatementBuilder.UpdateStatement realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars)
StatementBuilder
Statement
that can be
executed to perform a specific CohQL command.ctx
- the ExecutionContext
to use to create commandsterm
- the parsed NodeTerm
used to create the relevant StatementlistBindVars
- the indexed bind variablesnamedBindVars
- the named bind variablespublic String getSyntax()
StatementBuilder
public String getDescription()
StatementBuilder
protected UpdateSetListMaker createUpdateSetListMaker(ExecutionContext context, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars)
UpdateSetListMaker
.context
- the ExecutionContext
to use to configure the
UpdateSetListMakerlistBindVars
- the indexed bind variables that the SelectListMaker
should usenamedBindVars
- the named bind variables that the SelectListMaker
should use