All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rtbhouse.utils.generated.avro.benchmark.FixedJaHbo Maven / Gradle / Ivy

The newest version!
/**
 * Autogenerated by Avro
 *
 * DO NOT EDIT DIRECTLY
 */
package com.rtbhouse.utils.generated.avro.benchmark;
@SuppressWarnings("all")
@org.apache.avro.specific.FixedSize(9)
@org.apache.avro.specific.AvroGenerated
public class FixedJaHbo extends org.apache.avro.specific.SpecificFixed {
  private static final long serialVersionUID = 4622996809242501966L;
  public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"fixed\",\"name\":\"FixedJaHbo\",\"namespace\":\"com.rtbhouse.utils.generated.avro.benchmark\",\"size\":9}");
  public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
  public org.apache.avro.Schema getSchema() { return SCHEMA$; }

  /** Creates a new FixedJaHbo */
  public FixedJaHbo() {
    super();
  }

  /**
   * Creates a new FixedJaHbo with the given bytes.
   * @param bytes The bytes to create the new FixedJaHbo.
   */
  public FixedJaHbo(byte[] bytes) {
    super(bytes);
  }

  private static final org.apache.avro.io.DatumWriter
    WRITER$ = new org.apache.avro.specific.SpecificDatumWriter(SCHEMA$);

  @Override public void writeExternal(java.io.ObjectOutput out)
    throws java.io.IOException {
    WRITER$.write(this, org.apache.avro.specific.SpecificData.getEncoder(out));
  }

  private static final org.apache.avro.io.DatumReader
    READER$ = new org.apache.avro.specific.SpecificDatumReader(SCHEMA$);

  @Override public void readExternal(java.io.ObjectInput in)
    throws java.io.IOException {
    READER$.read(this, org.apache.avro.specific.SpecificData.getDecoder(in));
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy