blob: 9da257bfc13e22a1fb7d63d2bbf2c98ae4c3c021 [file] [log] [blame]
package org.apache.hadoop.io;
@SuppressWarnings("all")
public class AvroValue 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\":\"AvroValue\",\"namespace\":\"org.apache.hadoop.io\",\"fields\":[{\"name\":\"value\",\"type\":\"string\"}]}");
public org.apache.avro.util.Utf8 value;
public org.apache.avro.Schema getSchema() { return SCHEMA$; }
public java.lang.Object get(int field$) {
switch (field$) {
case 0: return value;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
@SuppressWarnings(value="unchecked")
public void put(int field$, java.lang.Object value$) {
switch (field$) {
case 0: value = (org.apache.avro.util.Utf8)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
}