public class CreateCacheStatementBuilder extends AbstractStatementBuilder<CreateCacheStatementBuilder.CreateCacheStatement>
StatementBuilder
that parses a CohQL term tree to produce an instance of a CreateCacheStatementBuilder.CreateCacheStatement
.Modifier and Type | Class and Description |
---|---|
static class |
CreateCacheStatementBuilder.CreateCacheStatement
Implementation of the CohQL "CREATE CACHE" command.
|
Modifier and Type | Field and Description |
---|---|
static CreateCacheStatementBuilder |
INSTANCE
An instance of CreateCacheStatementBuilder.
|
Constructor and Description |
---|
CreateCacheStatementBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return a description of the CohQL command suitable for displaying
as help text.
|
String |
getSyntax()
Return the syntax of the CohQL command.
|
CreateCacheStatementBuilder.CreateCacheStatement |
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 CreateCacheStatementBuilder INSTANCE
public CreateCacheStatementBuilder.CreateCacheStatement 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