|
||||||||||
| 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.RenameKeyspace
@Deprecated public class RenameKeyspace
Deprecated until we can figure out how to rename on a live node without complicating flushing and compaction.
| 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 |
RenameKeyspace()
Deprecated. Required no-arg constructor |
|
RenameKeyspace(java.lang.String oldName,
java.lang.String newName)
Deprecated. |
| Method Summary | |
|---|---|
void |
applyModels()
Deprecated. keep in mind that applyLive might happen on another machine |
void |
subdeflate(org.apache.cassandra.db.migration.avro.Migration mi)
Deprecated. Deflate this Migration into an Avro object. |
void |
subinflate(org.apache.cassandra.db.migration.avro.Migration mi)
Deprecated. Inflate this Migration from an Avro object: called after the required no-arg constructor. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class org.apache.cassandra.db.migration.Migration |
|---|
announce, apply, deserialize, getLastMigrationId, getLocalMigrations, getVersion, isLegalName, passiveAnnounce, serialize, toUTF8Bytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RenameKeyspace()
public RenameKeyspace(java.lang.String oldName,
java.lang.String newName)
throws ConfigurationException,
java.io.IOException
ConfigurationException
java.io.IOException| Method Detail |
|---|
public void applyModels()
throws java.io.IOException
Migration
java.io.IOExceptionpublic void subdeflate(org.apache.cassandra.db.migration.avro.Migration mi)
Migration
subdeflate in class Migrationpublic void subinflate(org.apache.cassandra.db.migration.avro.Migration mi)
Migration
subinflate in class Migrationpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||