org.apache.cassandra.db.migration
Class AddColumnFamily

java.lang.Object
  extended by org.apache.cassandra.db.migration.Migration
      extended by org.apache.cassandra.db.migration.AddColumnFamily

public class AddColumnFamily
extends Migration


Field Summary
 
Fields inherited from class org.apache.cassandra.db.migration.Migration
LAST_MIGRATION_KEY, logger, MIGRATIONS_CF, NAME_VALIDATOR_REGEX, SCHEMA_CF, timestamp
 
Constructor Summary
AddColumnFamily(CFMetaData cfm)
           
 
Method Summary
protected  void applyImpl()
          Class specific apply implementation where schema migration logic should be put
 java.lang.String toString()
           
 
Methods inherited from class org.apache.cassandra.db.migration.Migration
announce, apply, getLastMigrationId, isLegalName, passiveAnnounce
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddColumnFamily

public AddColumnFamily(CFMetaData cfm)
                throws ConfigurationException
Throws:
ConfigurationException
Method Detail

applyImpl

protected void applyImpl()
                  throws ConfigurationException,
                         java.io.IOException
Description copied from class: Migration
Class specific apply implementation where schema migration logic should be put

Specified by:
applyImpl in class Migration
Throws:
ConfigurationException - if there is object misconfiguration.
java.io.IOException - on any I/O related error.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 The Apache Software Foundation