|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.db.migration.Migration
org.apache.cassandra.db.migration.AddKeyspace
public class AddKeyspace
Field Summary |
---|
Fields inherited from class org.apache.cassandra.db.migration.Migration |
---|
clientMode, LAST_MIGRATION_KEY, lastVersion, logger, MIGRATIONS_CF, MIGRATIONS_KEY, NAME_VALIDATOR_REGEX, newVersion, rm, SCHEMA_CF |
Constructor Summary | |
---|---|
protected |
AddKeyspace()
Required no-arg constructor |
|
AddKeyspace(KSMetaData ksm)
|
Method Summary | |
---|---|
void |
applyModels()
keep in mind that applyLive might happen on another machine |
void |
subdeflate(org.apache.cassandra.db.migration.avro.Migration mi)
Deflate this Migration into an Avro object. |
void |
subinflate(org.apache.cassandra.db.migration.avro.Migration mi)
Inflate this Migration from an Avro object: called after the required no-arg constructor. |
Methods inherited from class org.apache.cassandra.db.migration.Migration |
---|
acquireLocks, announce, apply, beforeApplyModels, deserialize, getLastMigrationId, getLocalMigrations, getVersion, isLegalName, releaseLocks, serialize, toUTF8Bytes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AddKeyspace()
public AddKeyspace(KSMetaData ksm) throws ConfigurationException, java.io.IOException
ConfigurationException
java.io.IOException
Method Detail |
---|
public void applyModels() throws java.io.IOException
Migration
java.io.IOException
public void subdeflate(org.apache.cassandra.db.migration.avro.Migration mi)
Migration
subdeflate
in class Migration
public void subinflate(org.apache.cassandra.db.migration.avro.Migration mi)
Migration
subinflate
in class Migration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |