public class SourceStatementBuilder extends AbstractStatementBuilder<SourceStatementBuilder.SourceStatement>
StatementBuilder
that parses a CohQL term tree to produce an instance of a SourceStatementBuilder.SourceStatement
.Modifier and Type | Class and Description |
---|---|
static class |
SourceStatementBuilder.SourceStatement
Implementation of the CohQL "source" command.
|
Modifier and Type | Field and Description |
---|---|
static SourceStatementBuilder |
INSTANCE
An instance of a SourceStatementBuilder.
|
Constructor and Description |
---|
SourceStatementBuilder() |
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.
|
SourceStatementBuilder.SourceStatement |
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 SourceStatementBuilder INSTANCE
public SourceStatementBuilder.SourceStatement 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