/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
package org.apache.cassandra.db.migration.avro;
@SuppressWarnings("all")
public class RenameKeyspace extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"RenameKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"old_ksname\",\"type\":\"string\"},{\"name\":\"new_ksname\",\"type\":\"string\"}]}");
public java.lang.CharSequence old_ksname;
public java.lang.CharSequence new_ksname;
public org.apache.avro.Schema getSchema() { return SCHEMA$; }
// Used by DatumWriter. Applications should not call.
public java.lang.Object get(int field$) {
switch (field$) {
case 0: return old_ksname;
case 1: return new_ksname;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
// Used by DatumReader. Applications should not call.
@SuppressWarnings(value="unchecked")
public void put(int field$, java.lang.Object value$) {
switch (field$) {
case 0: old_ksname = (java.lang.CharSequence)value$; break;
case 1: new_ksname = (java.lang.CharSequence)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
}