Package org.apache.cassandra.schema
Interface SchemaTransformation
-
- All Known Implementing Classes:
AlterKeyspaceStatement,AlterSchemaStatement,AlterTableStatement,AlterTableStatement.AlterColumn,AlterTypeStatement,AlterViewStatement,CreateAggregateStatement,CreateFunctionStatement,CreateIndexStatement,CreateKeyspaceStatement,CreateTableStatement,CreateTriggerStatement,CreateTypeStatement,CreateViewStatement,DropAggregateStatement,DropFunctionStatement,DropIndexStatement,DropKeyspaceStatement,DropTableStatement,DropTriggerStatement,DropTypeStatement,DropViewStatement
public interface SchemaTransformation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Keyspacesapply(Keyspaces schema)Apply a statement transformation to a schema snapshot.
-
-
-
Method Detail
-
apply
Keyspaces apply(Keyspaces schema) throws java.net.UnknownHostException
Apply a statement transformation to a schema snapshot. Implementing methods should be side-effect free.- Parameters:
schema- Keyspaces to base the transformation on- Returns:
- Keyspaces transformed by the statement
- Throws:
java.net.UnknownHostException
-
-