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