org.apache.cassandra.db.migration
Class RenameKeyspace
java.lang.Object
org.apache.cassandra.db.migration.Migration
org.apache.cassandra.db.migration.RenameKeyspace
public class RenameKeyspace
- extends Migration
Constructor Summary |
protected |
RenameKeyspace()
Required no-arg constructor |
|
RenameKeyspace(java.lang.String oldName,
java.lang.String newName)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenameKeyspace
protected RenameKeyspace()
- Required no-arg constructor
RenameKeyspace
public RenameKeyspace(java.lang.String oldName,
java.lang.String newName)
throws ConfigurationException,
java.io.IOException
- Throws:
ConfigurationException
java.io.IOException
applyModels
public void applyModels()
throws java.io.IOException
- Description copied from class:
Migration
- keep in mind that applyLive might happen on another machine
- Throws:
java.io.IOException
subdeflate
public void subdeflate(org.apache.cassandra.db.migration.avro.Migration mi)
- Description copied from class:
Migration
- Deflate this Migration into an Avro object.
- Specified by:
subdeflate
in class Migration
subinflate
public void subinflate(org.apache.cassandra.db.migration.avro.Migration mi)
- Description copied from class:
Migration
- Inflate this Migration from an Avro object: called after the required no-arg constructor.
- Specified by:
subinflate
in class Migration
Copyright © 2010 The Apache Software Foundation