1
2
3
4
5
6 package org.apache.hadoop.hbase.avro.generated;
7 @SuppressWarnings("all")
8 public class AResultEntry 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\":\"AResultEntry\",\"namespace\":\"org.apache.hadoop.hbase.avro.generated\",\"fields\":[{\"name\":\"family\",\"type\":\"bytes\"},{\"name\":\"qualifier\",\"type\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\"},{\"name\":\"timestamp\",\"type\":\"long\"}]}");
10 public java.nio.ByteBuffer family;
11 public java.nio.ByteBuffer qualifier;
12 public java.nio.ByteBuffer value;
13 public long timestamp;
14 public org.apache.avro.Schema getSchema() { return SCHEMA$; }
15
16 public java.lang.Object get(int field$) {
17 switch (field$) {
18 case 0: return family;
19 case 1: return qualifier;
20 case 2: return value;
21 case 3: return timestamp;
22 default: throw new org.apache.avro.AvroRuntimeException("Bad index");
23 }
24 }
25
26 @SuppressWarnings(value="unchecked")
27 public void put(int field$, java.lang.Object value$) {
28 switch (field$) {
29 case 0: family = (java.nio.ByteBuffer)value$; break;
30 case 1: qualifier = (java.nio.ByteBuffer)value$; break;
31 case 2: value = (java.nio.ByteBuffer)value$; break;
32 case 3: timestamp = (java.lang.Long)value$; break;
33 default: throw new org.apache.avro.AvroRuntimeException("Bad index");
34 }
35 }
36 }