public class CreateTriggerStatement extends SchemaAlteringStatement
ParsedStatement.PreparedcfName| Constructor and Description |
|---|
CreateTriggerStatement(CFName name,
java.lang.String triggerName,
java.lang.String clazz) |
| Modifier and Type | Method and Description |
|---|---|
void |
announceMigration(boolean isLocalOnly) |
Event.SchemaChange |
changeEvent() |
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement.
|
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
execute, executeInternal, getBoundTerms, prepare, prepareKeyspacecolumnFamily, keyspace, prepareKeyspacegetBoundVariables, setBoundVariablespublic CreateTriggerStatement(CFName name, java.lang.String triggerName, java.lang.String clazz)
public void checkAccess(ClientState state) throws UnauthorizedException
CQLStatementstate - the current client stateUnauthorizedExceptionpublic void validate(ClientState state) throws RequestValidationException
CQLStatementstate - the current client stateRequestValidationExceptionpublic void announceMigration(boolean isLocalOnly)
throws ConfigurationException
announceMigration in class SchemaAlteringStatementConfigurationExceptionpublic Event.SchemaChange changeEvent()
changeEvent in class SchemaAlteringStatementCopyright © 2014 The Apache Software Foundation