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

org.apache.parquet.avro.Cars Maven / Gradle / Ivy

/**
 * Autogenerated by Avro
 *
 * DO NOT EDIT DIRECTLY
 */
package org.apache.parquet.avro;

@SuppressWarnings("all")
@org.apache.avro.specific.AvroGenerated
public interface Cars {
  public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"Cars\",\"namespace\":\"org.apache.parquet.avro\",\"types\":[{\"type\":\"record\",\"name\":\"Service\",\"fields\":[{\"name\":\"date\",\"type\":\"long\"},{\"name\":\"mechanic\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"Stereo\",\"fields\":[{\"name\":\"make\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"speakers\",\"type\":\"int\"}]},{\"type\":\"record\",\"name\":\"LeatherTrim\",\"fields\":[{\"name\":\"colour\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"enum\",\"name\":\"EngineType\",\"symbols\":[\"DIESEL\",\"PETROL\",\"ELECTRIC\"]},{\"type\":\"record\",\"name\":\"Engine\",\"fields\":[{\"name\":\"type\",\"type\":\"EngineType\"},{\"name\":\"capacity\",\"type\":\"float\"},{\"name\":\"hasTurboCharger\",\"type\":\"boolean\"}]},{\"type\":\"fixed\",\"name\":\"Vin\",\"size\":17},{\"type\":\"record\",\"name\":\"Car\",\"fields\":[{\"name\":\"year\",\"type\":\"long\"},{\"name\":\"registration\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"make\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"model\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"vin\",\"type\":\"Vin\"},{\"name\":\"doors\",\"type\":\"int\"},{\"name\":\"engine\",\"type\":\"Engine\"},{\"name\":\"optionalExtra\",\"type\":[\"null\",\"Stereo\",\"LeatherTrim\"],\"default\":null},{\"name\":\"serviceHistory\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Service\"}],\"default\":null}]},{\"type\":\"record\",\"name\":\"ShortCar\",\"fields\":[{\"name\":\"make\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"engine\",\"type\":\"Engine\"},{\"name\":\"year\",\"type\":\"long\"},{\"name\":\"vin\",\"type\":\"Vin\"}]},{\"type\":\"record\",\"name\":\"NewCar\",\"fields\":[{\"name\":\"year\",\"type\":\"long\"},{\"name\":\"registration\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"brand\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"aliases\":[\"make\"]},{\"name\":\"model\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"vin\",\"type\":\"Vin\"},{\"name\":\"doors\",\"type\":\"long\"},{\"name\":\"engine\",\"type\":\"Engine\"},{\"name\":\"optionalExtra\",\"type\":[\"null\",\"Stereo\",\"LeatherTrim\"],\"default\":null},{\"name\":\"serviceHistory\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Service\"}],\"default\":null},{\"name\":\"opt\",\"type\":\"int\",\"default\":5},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]}],\"messages\":{}}");

  @SuppressWarnings("all")
  public interface Callback extends Cars {
    public static final org.apache.avro.Protocol PROTOCOL = org.apache.parquet.avro.Cars.PROTOCOL;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy