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

com.rtbhouse.utils.generated.avro.benchmark.FixedsGhsq 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(2)
@org.apache.avro.specific.AvroGenerated
public class FixedsGhsq extends org.apache.avro.specific.SpecificFixed {
  private static final long serialVersionUID = 4162080152712378790L;
  public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"fixed\",\"name\":\"FixedsGhsq\",\"namespace\":\"com.rtbhouse.utils.generated.avro.benchmark\",\"size\":2}");
  public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
  public org.apache.avro.Schema getSchema() { return SCHEMA$; }

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

  /**
   * Creates a new FixedsGhsq with the given bytes.
   * @param bytes The bytes to create the new FixedsGhsq.
   */
  public FixedsGhsq(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