org.apache.cassandra.db.migration
Class AddKeyspace
java.lang.Object
org.apache.cassandra.db.migration.Migration
org.apache.cassandra.db.migration.AddKeyspace
public class AddKeyspace
- extends Migration
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddKeyspace
protected AddKeyspace()
- Required no-arg constructor
AddKeyspace
public AddKeyspace(KSMetaData ksm)
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011 The Apache Software Foundation