1 package org.apache.hadoop.hbase.avro.generated; 2 3 @SuppressWarnings("all") 4 public class ARegionLoad extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { 5 public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"ARegionLoad\",\"namespace\":\"org.apache.hadoop.hbase.avro.generated\",\"fields\":[{\"name\":\"memStoreSizeMB\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"storefileIndexSizeMB\",\"type\":\"int\"},{\"name\":\"storefiles\",\"type\":\"int\"},{\"name\":\"storefileSizeMB\",\"type\":\"int\"},{\"name\":\"stores\",\"type\":\"int\"}]}"); 6 public int memStoreSizeMB; 7 public java.nio.ByteBuffer name; 8 public int storefileIndexSizeMB; 9 public int storefiles; 10 public int storefileSizeMB; 11 public int stores; 12 public org.apache.avro.Schema getSchema() { return SCHEMA$; } 13 public java.lang.Object get(int field$) { 14 switch (field$) { 15 case 0: return memStoreSizeMB; 16 case 1: return name; 17 case 2: return storefileIndexSizeMB; 18 case 3: return storefiles; 19 case 4: return storefileSizeMB; 20 case 5: return stores; 21 default: throw new org.apache.avro.AvroRuntimeException("Bad index"); 22 } 23 } 24 @SuppressWarnings(value="unchecked") 25 public void put(int field$, java.lang.Object value$) { 26 switch (field$) { 27 case 0: memStoreSizeMB = (java.lang.Integer)value$; break; 28 case 1: name = (java.nio.ByteBuffer)value$; break; 29 case 2: storefileIndexSizeMB = (java.lang.Integer)value$; break; 30 case 3: storefiles = (java.lang.Integer)value$; break; 31 case 4: storefileSizeMB = (java.lang.Integer)value$; break; 32 case 5: stores = (java.lang.Integer)value$; break; 33 default: throw new org.apache.avro.AvroRuntimeException("Bad index"); 34 } 35 } 36 }