package org.apache.hadoop.hbase.avro.generated; @SuppressWarnings("all") public class TCell 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\":\"TCell\",\"namespace\":\"org.apache.hadoop.hbase.avro.generated\",\"fields\":[{\"name\":\"value\",\"type\":\"bytes\"},{\"name\":\"timestamp\",\"type\":\"long\"}]}"); public java.nio.ByteBuffer value; public long timestamp; public org.apache.avro.Schema getSchema() { return SCHEMA$; } public java.lang.Object get(int field$) { switch (field$) { case 0: return value; case 1: return timestamp; 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 = (java.nio.ByteBuffer)value$; break; case 1: timestamp = (java.lang.Long)value$; break; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } }