Skip to content

Commit

Permalink
Code-gen output which was unintentionally left out of previous PRs. (#90
Browse files Browse the repository at this point in the history
)

These need to be checked in, otherwise the CI pipeline publishes
SNAPSHOT artifacts rather than normal ones.
  • Loading branch information
FelixGV authored Aug 26, 2020
1 parent f0d0a5c commit f41541d
Show file tree
Hide file tree
Showing 91 changed files with 153 additions and 153 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public IndexedRecord deserializeFastStringableTest_javaStringPropertyInReaderSch
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testUnionString': "+ unionIndex0));
}
List<Utf8> testStringArray1 = null;
long chunkLen0 = (decoder.readArrayStart());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public IndexedRecord deserializeFastStringableTest_javaStringPropertyTest0(Objec
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testUnionString': "+ unionIndex0));
}
List<Utf8> testStringArray1 = null;
long chunkLen0 = (decoder.readArrayStart());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public com.linkedin.avro.fastserde.generated.avro.StringableRecord deserializeSt
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'stringUnion': "+ unionIndex0));
}
return StringableRecord;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public List<IndexedRecord> deserialize(List<IndexedRecord> reuse, Decoder decode
array0 .add(deserializerecord0(arrayArrayElementReuseVar0, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'arrayElem': "+ unionIndex0));
}
}
chunkLen0 = (decoder.arrayNext());
Expand Down Expand Up @@ -85,7 +85,7 @@ record = new org.apache.avro.generic.GenericData.Record(arrayElemOptionSchema0);
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'field': "+ unionIndex1));
}
return record;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ record = new org.apache.avro.generic.GenericData.Record(arrayArrayElemSchema0);
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'field': "+ unionIndex0));
}
return record;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadA
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testString': "+ unionIndex0));
}
int unionIndex1 = (decoder.readIndex());
switch (unionIndex1) {
Expand All @@ -71,7 +71,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadA
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'testStringUnionAlias': "+ unionIndex1));
}
return FastGenericDeserializerGeneratorTest_shouldReadAliasedField;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadE
FastGenericDeserializerGeneratorTest_shouldReadEnum.put(1, new org.apache.avro.generic.GenericData.EnumSymbol(testEnum0, testEnum0 .getEnumSymbols().get((decoder.readEnum()))));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testEnumUnion': "+ unionIndex0));
}
List<org.apache.avro.generic.GenericData.EnumSymbol> testEnumArray1 = null;
long chunkLen0 = (decoder.readArrayStart());
Expand Down Expand Up @@ -96,7 +96,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadE
testEnumUnionArray1 .add(new org.apache.avro.generic.GenericData.EnumSymbol(testEnum0, testEnum0 .getEnumSymbols().get((decoder.readEnum()))));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'testEnumUnionArrayElem': "+ unionIndex1));
}
}
chunkLen1 = (decoder.arrayNext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadF
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testFixedUnion': "+ unionIndex0));
}
List<org.apache.avro.generic.GenericData.Fixed> testFixedArray1 = null;
long chunkLen0 = (decoder.readArrayStart());
Expand Down Expand Up @@ -135,7 +135,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadF
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'testFixedUnionArrayElem': "+ unionIndex1));
}
}
chunkLen1 = (decoder.arrayNext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadM
FastGenericDeserializerGeneratorTest_shouldReadMultipleChoiceUnion.put(0, (decoder.readInt()));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'union': "+ unionIndex0));
}
return FastGenericDeserializerGeneratorTest_shouldReadMultipleChoiceUnion;
}
Expand Down Expand Up @@ -91,7 +91,7 @@ public IndexedRecord deserializesubRecord0(Object reuse, Decoder decoder)
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'subField': "+ unionIndex1));
}
return subRecord;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testEnumUnion': "+ unionIndex0));
}
List<org.apache.avro.generic.GenericData.EnumSymbol> testEnumArray1 = null;
long chunkLen0 = (decoder.readArrayStart());
Expand Down Expand Up @@ -184,7 +184,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'testEnumUnionArrayElem': "+ unionIndex1));
}
}
chunkLen1 = (decoder.arrayNext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(1, (decoder.readInt()));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'testIntUnion': "+ unionIndex0));
}
Object oldString0 = FastGenericDeserializerGeneratorTest_shouldReadPrimitives.get(2);
if (oldString0 instanceof Utf8) {
Expand All @@ -82,7 +82,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'testStringUnion': "+ unionIndex1));
}
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(4, (decoder.readLong()));
int unionIndex2 = (decoder.readIndex());
Expand All @@ -94,7 +94,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(5, (decoder.readLong()));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex2));
throw new RuntimeException(("Illegal union index for 'testLongUnion': "+ unionIndex2));
}
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(6, (decoder.readDouble()));
int unionIndex3 = (decoder.readIndex());
Expand All @@ -106,7 +106,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(7, (decoder.readDouble()));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex3));
throw new RuntimeException(("Illegal union index for 'testDoubleUnion': "+ unionIndex3));
}
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(8, (decoder.readFloat()));
int unionIndex4 = (decoder.readIndex());
Expand All @@ -118,7 +118,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(9, (decoder.readFloat()));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex4));
throw new RuntimeException(("Illegal union index for 'testFloatUnion': "+ unionIndex4));
}
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(10, (decoder.readBoolean()));
int unionIndex5 = (decoder.readIndex());
Expand All @@ -130,7 +130,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
FastGenericDeserializerGeneratorTest_shouldReadPrimitives.put(11, (decoder.readBoolean()));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex5));
throw new RuntimeException(("Illegal union index for 'testBooleanUnion': "+ unionIndex5));
}
Object oldBytes0 = FastGenericDeserializerGeneratorTest_shouldReadPrimitives.get(12);
if (oldBytes0 instanceof ByteBuffer) {
Expand All @@ -154,7 +154,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadP
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex6));
throw new RuntimeException(("Illegal union index for 'testBytesUnion': "+ unionIndex6));
}
return FastGenericDeserializerGeneratorTest_shouldReadPrimitives;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
recordsArrayUnionOption0 .add(deserializesubRecord0(recordsArrayUnionOptionArrayElementReuseVar0, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex2));
throw new RuntimeException(("Illegal union index for 'recordsArrayUnionOptionElem': "+ unionIndex2));
}
}
chunkLen2 = (decoder.arrayNext());
Expand All @@ -143,7 +143,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'recordsArrayUnion': "+ unionIndex1));
}
int unionIndex3 = (decoder.readIndex());
switch (unionIndex3) {
Expand Down Expand Up @@ -178,7 +178,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
recordsMapUnionOption0 .put(key1, deserializesubRecord0(null, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex4));
throw new RuntimeException(("Illegal union index for 'recordsMapUnionOptionValue': "+ unionIndex4));
}
}
chunkLen3 = (decoder.mapNext());
Expand All @@ -190,7 +190,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex3));
throw new RuntimeException(("Illegal union index for 'recordsMapUnion': "+ unionIndex3));
}
return FastGenericDeserializerGeneratorTest_shouldReadSubRecordCollectionsField;
}
Expand Down Expand Up @@ -220,7 +220,7 @@ public IndexedRecord deserializesubRecord0(Object reuse, Decoder decoder)
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'subField': "+ unionIndex0));
}
return subRecord;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
recordsArrayMapElem0 .put(key0, deserializesubRecord0(null, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'recordsArrayMapElemValue': "+ unionIndex0));
}
}
chunkLen1 = (decoder.mapNext());
Expand Down Expand Up @@ -159,7 +159,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
recordsMapArrayValue0 .add(deserializesubRecord0(recordsMapArrayValueArrayElementReuseVar0, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex2));
throw new RuntimeException(("Illegal union index for 'recordsMapArrayValueElem': "+ unionIndex2));
}
}
chunkLen3 = (decoder.arrayNext());
Expand Down Expand Up @@ -219,7 +219,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
recordsArrayMapUnionOptionElem0 .put(key2, deserializesubRecord0(null, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex4));
throw new RuntimeException(("Illegal union index for 'recordsArrayMapUnionOptionElemValue': "+ unionIndex4));
}
}
chunkLen5 = (decoder.mapNext());
Expand All @@ -235,7 +235,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex3));
throw new RuntimeException(("Illegal union index for 'recordsArrayMapUnion': "+ unionIndex3));
}
int unionIndex5 = (decoder.readIndex());
switch (unionIndex5) {
Expand Down Expand Up @@ -284,7 +284,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
recordsMapArrayUnionOptionValue0 .add(deserializesubRecord0(recordsMapArrayUnionOptionValueArrayElementReuseVar0, (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex6));
throw new RuntimeException(("Illegal union index for 'recordsMapArrayUnionOptionValueElem': "+ unionIndex6));
}
}
chunkLen7 = (decoder.arrayNext());
Expand All @@ -300,7 +300,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex5));
throw new RuntimeException(("Illegal union index for 'recordsMapArrayUnion': "+ unionIndex5));
}
return FastGenericDeserializerGeneratorTest_shouldReadSubRecordComplexCollectionsField;
}
Expand Down Expand Up @@ -330,7 +330,7 @@ public IndexedRecord deserializesubRecord0(Object reuse, Decoder decoder)
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'subField': "+ unionIndex1));
}
return subRecord;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
FastGenericDeserializerGeneratorTest_shouldReadSubRecordField.put(0, deserializesubRecord0(FastGenericDeserializerGeneratorTest_shouldReadSubRecordField.get(0), (decoder)));
break;
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex0));
throw new RuntimeException(("Illegal union index for 'record': "+ unionIndex0));
}
FastGenericDeserializerGeneratorTest_shouldReadSubRecordField.put(1, deserializesubRecord0(FastGenericDeserializerGeneratorTest_shouldReadSubRecordField.get(1), (decoder)));
int unionIndex2 = (decoder.readIndex());
Expand All @@ -69,7 +69,7 @@ public IndexedRecord deserializeFastGenericDeserializerGeneratorTest_shouldReadS
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex2));
throw new RuntimeException(("Illegal union index for 'field': "+ unionIndex2));
}
return FastGenericDeserializerGeneratorTest_shouldReadSubRecordField;
}
Expand Down Expand Up @@ -99,7 +99,7 @@ public IndexedRecord deserializesubRecord0(Object reuse, Decoder decoder)
break;
}
default:
throw new RuntimeException(("Illegal union index: "+ unionIndex1));
throw new RuntimeException(("Illegal union index for 'subField': "+ unionIndex1));
}
return subRecord;
}
Expand Down
Loading

0 comments on commit f41541d

Please sign in to comment.