Class CreateAggregateStatement
java.lang.Object
org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
org.apache.cassandra.cql3.statements.schema.CreateAggregateStatement
- All Implemented Interfaces:
CQLStatement,CQLStatement.SingleKeyspaceCqlStatement,SchemaTransformation
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQLStatement
CQLStatement.SingleKeyspaceCqlStatementNested classes/interfaces inherited from interface org.apache.cassandra.schema.SchemaTransformation
SchemaTransformation.SchemaTransformationResult -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
keyspaceName, state -
Constructor Summary
ConstructorsConstructorDescriptionCreateAggregateStatement(String keyspaceName, String aggregateName, List<CQL3Type.Raw> rawArgumentTypes, CQL3Type.Raw rawStateType, FunctionName stateFunctionName, FunctionName finalFunctionName, Term.Raw rawInitialValue, boolean orReplace, boolean ifNotExists) -
Method Summary
Modifier and TypeMethodDescriptionApply a statement transformation to a schema snapshot.voidauthorize(ClientState client) Perform any access verification necessary for the statement.Provides the context needed for audit logging statements.toString()Methods inherited from class org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
execute, execute, executeLocally, keyspace, validate, validateDefaultTimeToLiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.CQLStatement
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionsMethods inherited from interface org.apache.cassandra.schema.SchemaTransformation
fixedTimestampMicros
-
Constructor Details
-
CreateAggregateStatement
public CreateAggregateStatement(String keyspaceName, String aggregateName, List<CQL3Type.Raw> rawArgumentTypes, CQL3Type.Raw rawStateType, FunctionName stateFunctionName, FunctionName finalFunctionName, Term.Raw rawInitialValue, boolean orReplace, boolean ifNotExists)
-
-
Method Details
-
apply
Description copied from interface:SchemaTransformationApply a statement transformation to a schema snapshot.Implementing methods should be side-effect free (outside of throwing exceptions if the transformation cannot be successfully applied to the provided schema).
- Parameters:
schema- Keyspaces to base the transformation on- Returns:
- Keyspaces transformed by the statement
-
authorize
Description copied from interface:CQLStatementPerform any access verification necessary for the statement.- Parameters:
client- the current client state
-
getAuditLogContext
Description copied from interface:CQLStatementProvides the context needed for audit logging statements. -
toString
-