@org.apache.avro.specific.AvroGenerated public interface InputProtocol { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"InputProtocol\",\"namespace\":\"org.apache.avro.mapred.tether\",\"doc\":\"Transmit inputs to a map or reduce task sub-process.\",\"types\":[{\"type\":\"enum\",\"name\":\"TaskType\",\"symbols\":[\"MAP\",\"REDUCE\"]}],\"messages\":{\"configure\":{\"doc\":\"Transmit inputs to a map or reduce task sub-process.\",\"request\":[{\"name\":\"taskType\",\"type\":\"TaskType\",\"doc\":\"Whether this is a map or reduce task.\"},{\"name\":\"inSchema\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The Avro schema for task input data.\"},{\"name\":\"outSchema\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The Avro schema for task output data.\"}],\"response\":\"null\",\"one-way\":true},\"partitions\":{\"doc\":\"Transmit inputs to a map or reduce task sub-process.\",\"request\":[{\"name\":\"partitions\",\"type\":\"int\",\"doc\":\"The number of map output partitions.\"}],\"response\":\"null\",\"one-way\":true},\"input\":{\"doc\":\"Transmit inputs to a map or reduce task sub-process.\",\"request\":[{\"name\":\"data\",\"type\":\"bytes\",\"doc\":\"A sequence of instances of the declared schema.\"},{\"name\":\"count\",\"type\":\"long\",\"doc\":\"The number of instances in this block.\",\"default\":1}],\"response\":\"null\",\"one-way\":true},\"abort\":{\"doc\":\"Transmit inputs to a map or reduce task sub-process.\",\"request\":[],\"response\":\"null\",\"one-way\":true},\"complete\":{\"doc\":\"Transmit inputs to a map or reduce task sub-process.\",\"request\":[],\"response\":\"null\",\"one-way\":true}}}");
@org.apache.avro.specific.AvroGenerated public interface FlumeOGEventAvroServer { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"FlumeOGEventAvroServer\",\"namespace\":\"com.cloudera.flume.handlers.avro\",\"doc\":\"* Licensed to the Apache Software Foundation (ASF) under one\\n * or more contributor license agreements. See the NOTICE file\\n * distributed with this work for additional information\\n * regarding copyright ownership. The ASF licenses this file\\n * to you under the Apache License, Version 2.0 (the\\n * \\\"License\\\"); you may not use this file except in compliance\\n * with the License. You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing,\\n * software distributed under the License is distributed on an\\n * \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\n * KIND, either express or implied. See the License for the\\n * specific language governing permissions and limitations\\n * under the License.\",\"types\":[{\"type\":\"enum\",\"name\":\"Priority\",\"symbols\":[\"FATAL\",\"ERROR\",\"WARN\",\"INFO\",\"DEBUG\",\"TRACE\"]},{\"type\":\"record\",\"name\":\"AvroFlumeOGEvent\",\"fields\":[{\"name\":\"timestamp\",\"type\":\"long\"},{\"name\":\"priority\",\"type\":\"Priority\"},{\"name\":\"body\",\"type\":\"bytes\"},{\"name\":\"nanos\",\"type\":\"long\"},{\"name\":\"host\",\"type\":\"string\"},{\"name\":\"fields\",\"type\":{\"type\":\"map\",\"values\":\"bytes\"}}]}],\"messages\":{\"append\":{\"request\":[{\"name\":\"evt\",\"type\":\"AvroFlumeOGEvent\"}],\"response\":\"null\"}}}");
@org.apache.avro.specific.AvroGenerated public interface AvroSourceProtocol { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"AvroSourceProtocol\",\"namespace\":\"org.apache.flume.source.avro\",\"doc\":\"* Licensed to the Apache Software Foundation (ASF) under one\\n * or more contributor license agreements. See the NOTICE file\\n * distributed with this work for additional information\\n * regarding copyright ownership. The ASF licenses this file\\n * to you under the Apache License, Version 2.0 (the\\n * \\\"License\\\"); you may not use this file except in compliance\\n * with the License. You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing,\\n * software distributed under the License is distributed on an\\n * \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\n * KIND, either express or implied. See the License for the\\n * specific language governing permissions and limitations\\n * under the License.\",\"types\":[{\"type\":\"enum\",\"name\":\"Status\",\"symbols\":[\"OK\",\"FAILED\",\"UNKNOWN\"]},{\"type\":\"record\",\"name\":\"AvroFlumeEvent\",\"fields\":[{\"name\":\"headers\",\"type\":{\"type\":\"map\",\"values\":\"string\"}},{\"name\":\"body\",\"type\":\"bytes\"}]}],\"messages\":{\"append\":{\"request\":[{\"name\":\"event\",\"type\":\"AvroFlumeEvent\"}],\"response\":\"Status\"},\"appendBatch\":{\"request\":[{\"name\":\"events\",\"type\":{\"type\":\"array\",\"items\":\"AvroFlumeEvent\"}}],\"response\":\"Status\"}}}");
@org.apache.avro.specific.AvroGenerated public interface OutputProtocol { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"OutputProtocol\",\"namespace\":\"org.apache.avro.mapred.tether\",\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"types\":[],\"messages\":{\"configure\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[{\"name\":\"port\",\"type\":\"int\",\"doc\":\"The port to transmit inputs to this task on.\"}],\"response\":\"null\",\"one-way\":true},\"output\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[{\"name\":\"datum\",\"type\":\"bytes\",\"doc\":\"A binary-encoded instance of the declared schema.\"}],\"response\":\"null\",\"one-way\":true},\"outputPartitioned\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[{\"name\":\"partition\",\"type\":\"int\",\"doc\":\"The map output partition for this datum.\"},{\"name\":\"datum\",\"type\":\"bytes\",\"doc\":\"A binary-encoded instance of the declared schema.\"}],\"response\":\"null\",\"one-way\":true},\"status\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[{\"name\":\"message\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The new status message for the task.\"}],\"response\":\"null\",\"one-way\":true},\"count\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[{\"name\":\"group\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The name of the counter group.\"},{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The name of the counter to increment.\"},{\"name\":\"amount\",\"type\":\"long\",\"doc\":\"The amount to incrment the counter.\"}],\"response\":\"null\",\"one-way\":true},\"fail\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[{\"name\":\"message\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The new status message for the task.\"}],\"response\":\"null\",\"one-way\":true},\"complete\":{\"doc\":\"Transmit outputs from a map or reduce task to parent.\",\"request\":[],\"response\":\"null\",\"one-way\":true}}}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class InnerPayLoadAvro extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { private static final long serialVersionUID = -7835393938967091001L;
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class EventSequenceNumberRequest extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"EventSequenceNumberRequest\",\"namespace\":\"org.kaaproject.kaa.common.endpoint.gen\",\"fields\":[],\"direction\":\"out\"}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public interface EmployeeAvro { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"EmployeeAvro\",\"namespace\":\"org.apache.hadoop.hive.hbase.avro\",\"types\":[{\"type\":\"enum\",\"name\":\"Gender\",\"symbols\":[\"MALE\",\"FEMALE\"]},{\"type\":\"record\",\"name\":\"HomePhone\",\"fields\":[{\"name\":\"areaCode\",\"type\":\"long\"},{\"name\":\"number\",\"type\":\"long\"}]},{\"type\":\"record\",\"name\":\"OfficePhone\",\"fields\":[{\"name\":\"areaCode\",\"type\":\"long\"},{\"name\":\"number\",\"type\":\"long\"}]},{\"type\":\"record\",\"name\":\"Address\",\"fields\":[{\"name\":\"address1\",\"type\":\"string\"},{\"name\":\"address2\",\"type\":\"string\"},{\"name\":\"city\",\"type\":\"string\"},{\"name\":\"zipcode\",\"type\":\"long\"},{\"name\":\"county\",\"type\":[\"HomePhone\",\"OfficePhone\",\"string\",\"null\"]},{\"name\":\"aliases\",\"type\":[{\"type\":\"array\",\"items\":\"string\"},\"null\"]},{\"name\":\"metadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}]}]},{\"type\":\"record\",\"name\":\"ContactInfo\",\"fields\":[{\"name\":\"address\",\"type\":[{\"type\":\"array\",\"items\":\"Address\"},\"null\"]},{\"name\":\"homePhone\",\"type\":\"HomePhone\"},{\"name\":\"officePhone\",\"type\":\"OfficePhone\"}]},{\"type\":\"record\",\"name\":\"Employee\",\"fields\":[{\"name\":\"employeeName\",\"type\":\"string\"},{\"name\":\"employeeID\",\"type\":\"long\"},{\"name\":\"age\",\"type\":\"long\"},{\"name\":\"gender\",\"type\":\"Gender\"},{\"name\":\"contactInfo\",\"type\":\"ContactInfo\"}]}],\"messages\":{}}"); @SuppressWarnings("all") public interface Callback extends EmployeeAvro { public static final org.apache.avro.Protocol PROTOCOL = org.apache.hadoop.hive.hbase.avro.EmployeeAvro.PROTOCOL; } }
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class EmptyData extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"EmptyData\",\"namespace\":\"org.kaaproject.kaa.schema.system\",\"fields\":[],\"version\":1,\"dependencies\":[],\"displayName\":\"Empty Data\",\"description\":\"Auto generated\"}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class Configuration extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Configuration\",\"namespace\":\"org.kaaproject.kaa.schema.base\",\"fields\":[]}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class Notification extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Notification\",\"namespace\":\"org.kaaproject.kaa.schema.base\",\"fields\":[]}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class Log extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Log\",\"namespace\":\"org.kaaproject.kaa.schema.base\",\"fields\":[]}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class TrustfulAvroConfig extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"TrustfulAvroConfig\",\"namespace\":\"org.kaaproject.kaa.server.verifiers.trustful.config.gen\",\"fields\":[]}");
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class User extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { private static final long serialVersionUID = 3144724849436857910L;
@SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class ComplexPayloadAvro extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { private static final long serialVersionUID = -2750936869018926220L;
/** * A test case to exercise the stringable feature on @java-class, @java-key-class and * @java-element-class */ @org.apache.avro.specific.AvroGenerated public interface AnnotatedStringableTypes { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"AnnotatedStringableTypes\",\"namespace\":\"test\",\"doc\":\"* A test case to exercise the stringable feature on @java-class, @java-key-class and\\n * @java-element-class\",\"types\":[{\"type\":\"record\",\"name\":\"StringablesRecord\",\"fields\":[{\"name\":\"value\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\",\"java-class\":\"java.math.BigDecimal\"},\"doc\":\"Each field exercises one of the java-class, key-class or element-class.\"},{\"name\":\"mapWithBigIntKeys\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\",\"java-key-class\":\"java.math.BigInteger\"}},{\"name\":\"mapWithBigDecimalElements\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\",\"java-class\":\"java.math.BigDecimal\"},\"avro.java.string\":\"String\"}}]}],\"messages\":{}}"); @SuppressWarnings("all") /** * A test case to exercise the stringable feature on @java-class, @java-key-class and * @java-element-class */ public interface Callback extends AnnotatedStringableTypes { public static final org.apache.avro.Protocol PROTOCOL = test.AnnotatedStringableTypes.PROTOCOL; } }
/** NOTE: This structure is intended to contain names that are likely to cause collisions with the generated code. */ @org.apache.avro.specific.AvroGenerated public interface LetsBreakIt { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"LetsBreakIt\",\"namespace\":\"org.apache.avro.test.specialtypes\",\"doc\":\"NOTE: This structure is intended to contain names that are likely to cause collisions with the generated code.\",\"types\":[{\"type\":\"enum\",\"name\":\"Enum\",\"symbols\":[\"builder\",\"Builder\",\"builderBuider\",\"value\",\"this\"]},{\"type\":\"record\",\"name\":\"One\",\"fields\":[{\"name\":\"this\",\"type\":\"Enum\"}]},{\"type\":\"record\",\"name\":\"Two\",\"fields\":[{\"name\":\"this\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"String\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"Variables\",\"fields\":[{\"name\":\"this\",\"type\":\"One\"},{\"name\":\"Boolean\",\"type\":\"One\"},{\"name\":\"Integer\",\"type\":\"One\"},{\"name\":\"Long\",\"type\":\"One\"},{\"name\":\"Float\",\"type\":\"One\"},{\"name\":\"String\",\"type\":\"One\"}]},{\"type\":\"enum\",\"name\":\"Boolean\",\"symbols\":[\"Yes\",\"No\"]},{\"type\":\"record\",\"name\":\"String\",\"fields\":[{\"name\":\"value\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"builder\",\"fields\":[{\"name\":\"this\",\"type\":\"One\"},{\"name\":\"builder\",\"type\":\"Two\"}]},{\"type\":\"record\",\"name\":\"builderBuilder\",\"fields\":[{\"name\":\"this\",\"type\":\"One\"},{\"name\":\"that\",\"type\":\"Two\"}]},{\"type\":\"record\",\"name\":\"Builder\",\"fields\":[{\"name\":\"this\",\"type\":\"One\"},{\"name\":\"that\",\"type\":\"Two\"}]},{\"type\":\"record\",\"name\":\"value\",\"fields\":[{\"name\":\"this\",\"type\":\"One\"},{\"name\":\"that\",\"type\":\"Two\"}]},{\"type\":\"record\",\"name\":\"Types\",\"fields\":[{\"name\":\"one\",\"type\":\"Boolean\"},{\"name\":\"two\",\"type\":\"builder\"},{\"name\":\"three\",\"type\":\"Builder\"},{\"name\":\"four\",\"type\":\"builderBuilder\"},{\"name\":\"five\",\"type\":\"String\"},{\"name\":\"six\",\"type\":\"value\"}]},{\"type\":\"record\",\"name\":\"Names\",\"fields\":[{\"name\":\"Boolean\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"builder\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"Builder\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"builderBuilder\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"String\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"value\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"TopLevelDomainNames\",\"fields\":[{\"name\":\"org\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"avro\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"com\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"net\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"nl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"Exception\",\"fields\":[{\"name\":\"whatever\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]}],\"messages\":{}}"); @SuppressWarnings("all") /** NOTE: This structure is intended to contain names that are likely to cause collisions with the generated code. */ public interface Callback extends LetsBreakIt { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.test.specialtypes.LetsBreakIt.PROTOCOL; } }
/** NOTE: This structure was inspired by HTTP and deliberately skewed to get the effects that needed testing */ @org.apache.avro.specific.AvroGenerated public interface Http { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"Http\",\"namespace\":\"org.apache.avro.test.http\",\"doc\":\"NOTE: This structure was inspired by HTTP and deliberately skewed to get the effects that needed testing\",\"types\":[{\"type\":\"enum\",\"name\":\"NetworkType\",\"symbols\":[\"IPv4\",\"IPv6\"]},{\"type\":\"record\",\"name\":\"NetworkConnection\",\"fields\":[{\"name\":\"networkType\",\"type\":\"NetworkType\"},{\"name\":\"networkAddress\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"UserAgent\",\"fields\":[{\"name\":\"id\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"useragent\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"enum\",\"name\":\"HttpMethod\",\"symbols\":[\"GET\",\"POST\"]},{\"type\":\"record\",\"name\":\"QueryParameter\",\"fields\":[{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"value\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]},{\"type\":\"record\",\"name\":\"HttpURI\",\"fields\":[{\"name\":\"method\",\"type\":\"HttpMethod\"},{\"name\":\"path\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"parameters\",\"type\":{\"type\":\"array\",\"items\":\"QueryParameter\"},\"default\":[]}]},{\"type\":\"record\",\"name\":\"HttpRequest\",\"fields\":[{\"name\":\"userAgent\",\"type\":\"UserAgent\"},{\"name\":\"URI\",\"type\":\"HttpURI\"}]},{\"type\":\"record\",\"name\":\"Request\",\"fields\":[{\"name\":\"timestamp\",\"type\":\"long\"},{\"name\":\"connection\",\"type\":[\"null\",\"NetworkConnection\"],\"default\":null},{\"name\":\"httpRequest\",\"type\":\"HttpRequest\"}]}],\"messages\":{}}"); @SuppressWarnings("all") /** NOTE: This structure was inspired by HTTP and deliberately skewed to get the effects that needed testing */ public interface Callback extends Http { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.test.http.Http.PROTOCOL; } }
/** * A few simple test schemas for testing schema evolution the IDL generated classes */ @org.apache.avro.specific.AvroGenerated public interface SchemaEvolveTesting { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"SchemaEvolveTesting\",\"namespace\":\"org.apache.avro.compiler.schema.evolve\",\"doc\":\"* A few simple test schemas for testing schema evolution the IDL generated classes\",\"types\":[{\"type\":\"record\",\"name\":\"TestRecord1\",\"fields\":[{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"value\",\"type\":\"long\"}]},{\"type\":\"record\",\"name\":\"TestRecord2\",\"fields\":[{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"value\",\"type\":\"long\"},{\"name\":\"data\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"TestRecord3\",\"fields\":[{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"data\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"NestedEvolve1\",\"fields\":[{\"name\":\"rootName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"nested\",\"type\":\"TestRecord1\"}]},{\"type\":\"record\",\"name\":\"NestedEvolve2\",\"fields\":[{\"name\":\"rootName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"nested\",\"type\":\"TestRecord2\"}]},{\"type\":\"record\",\"name\":\"NestedEvolve3\",\"fields\":[{\"name\":\"rootName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"nested\",\"type\":\"TestRecord3\"}]}],\"messages\":{}}"); @SuppressWarnings("all") /** * A few simple test schemas for testing schema evolution the IDL generated classes */ public interface Callback extends SchemaEvolveTesting { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.compiler.schema.evolve.SchemaEvolveTesting.PROTOCOL; } }
@org.apache.avro.specific.AvroGenerated public interface Mail { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"Mail\",\"namespace\":\"org.apache.avro.test\",\"types\":[{\"type\":\"record\",\"name\":\"Message\",\"fields\":[{\"name\":\"to\",\"type\":\"string\"},{\"name\":\"from\",\"type\":\"string\"},{\"name\":\"body\",\"type\":\"string\"}]}],\"messages\":{\"send\":{\"request\":[{\"name\":\"message\",\"type\":\"Message\"}],\"response\":\"string\"},\"fireandforget\":{\"request\":[{\"name\":\"message\",\"type\":\"Message\"}],\"response\":\"null\",\"one-way\":true}}}"); /** */ java.lang.CharSequence send(org.apache.avro.test.Message message) throws org.apache.avro.AvroRemoteException; /** */ void fireandforget(org.apache.avro.test.Message message); @SuppressWarnings("all") public interface Callback extends Mail { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.test.Mail.PROTOCOL; /** * @throws java.io.IOException The async call could not be completed. */ void send(org.apache.avro.test.Message message, org.apache.avro.ipc.Callback<java.lang.CharSequence> callback) throws java.io.IOException; } }
@org.apache.avro.specific.AvroGenerated public interface Mail { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"Mail\",\"namespace\":\"org.apache.avro.test\",\"types\":[{\"type\":\"record\",\"name\":\"Message\",\"fields\":[{\"name\":\"to\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"from\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"body\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]}],\"messages\":{\"send\":{\"request\":[{\"name\":\"message\",\"type\":\"Message\"}],\"response\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},\"fireandforget\":{\"request\":[{\"name\":\"message\",\"type\":\"Message\"}],\"response\":\"null\",\"one-way\":true}}}"); /** */ java.lang.String send(org.apache.avro.test.Message message) throws org.apache.avro.AvroRemoteException; /** */ void fireandforget(org.apache.avro.test.Message message); @SuppressWarnings("all") public interface Callback extends Mail { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.test.Mail.PROTOCOL; /** * @throws java.io.IOException The async call could not be completed. */ void send(org.apache.avro.test.Message message, org.apache.avro.ipc.Callback<java.lang.String> callback) throws java.io.IOException; } }