-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added generated test classes temporarily
- Loading branch information
Showing
941 changed files
with
331,100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...d/deserialization/AVRO_1_10/Array_of_BOOLEAN_GenericDeserializer_869749973_869749973.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_10; | ||
|
||
import java.io.IOException; | ||
import java.util.List; | ||
import com.linkedin.avro.api.PrimitiveBooleanList; | ||
import com.linkedin.avro.fastserde.FastDeserializer; | ||
import com.linkedin.avro.fastserde.customized.DatumReaderCustomization; | ||
import com.linkedin.avro.fastserde.primitive.PrimitiveBooleanArrayList; | ||
import org.apache.avro.Schema; | ||
import org.apache.avro.io.Decoder; | ||
|
||
public class Array_of_BOOLEAN_GenericDeserializer_869749973_869749973 | ||
implements FastDeserializer<List<Boolean>> | ||
{ | ||
|
||
private final Schema readerSchema; | ||
|
||
public Array_of_BOOLEAN_GenericDeserializer_869749973_869749973(Schema readerSchema) { | ||
this.readerSchema = readerSchema; | ||
} | ||
|
||
public List<Boolean> deserialize(List<Boolean> reuse, Decoder decoder, DatumReaderCustomization customization) | ||
throws IOException | ||
{ | ||
PrimitiveBooleanList array0 = null; | ||
long chunkLen0 = (decoder.readArrayStart()); | ||
if ((reuse) instanceof PrimitiveBooleanList) { | ||
array0 = ((PrimitiveBooleanList)(reuse)); | ||
array0 .clear(); | ||
} else { | ||
array0 = new PrimitiveBooleanArrayList(((int) chunkLen0)); | ||
} | ||
while (chunkLen0 > 0) { | ||
for (int counter0 = 0; (counter0 <chunkLen0); counter0 ++) { | ||
array0 .addPrimitive((decoder.readBoolean())); | ||
} | ||
chunkLen0 = (decoder.arrayNext()); | ||
} | ||
return array0; | ||
} | ||
|
||
} |
43 changes: 43 additions & 0 deletions
43
...ated/deserialization/AVRO_1_10/Array_of_DOUBLE_GenericDeserializer_18760307_18760307.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_10; | ||
|
||
import java.io.IOException; | ||
import java.util.List; | ||
import com.linkedin.avro.api.PrimitiveDoubleList; | ||
import com.linkedin.avro.fastserde.FastDeserializer; | ||
import com.linkedin.avro.fastserde.customized.DatumReaderCustomization; | ||
import com.linkedin.avro.fastserde.primitive.PrimitiveDoubleArrayList; | ||
import org.apache.avro.Schema; | ||
import org.apache.avro.io.Decoder; | ||
|
||
public class Array_of_DOUBLE_GenericDeserializer_18760307_18760307 | ||
implements FastDeserializer<List<Double>> | ||
{ | ||
|
||
private final Schema readerSchema; | ||
|
||
public Array_of_DOUBLE_GenericDeserializer_18760307_18760307(Schema readerSchema) { | ||
this.readerSchema = readerSchema; | ||
} | ||
|
||
public List<Double> deserialize(List<Double> reuse, Decoder decoder, DatumReaderCustomization customization) | ||
throws IOException | ||
{ | ||
PrimitiveDoubleList array0 = null; | ||
long chunkLen0 = (decoder.readArrayStart()); | ||
if ((reuse) instanceof PrimitiveDoubleList) { | ||
array0 = ((PrimitiveDoubleList)(reuse)); | ||
array0 .clear(); | ||
} else { | ||
array0 = new PrimitiveDoubleArrayList(((int) chunkLen0)); | ||
} | ||
while (chunkLen0 > 0) { | ||
for (int counter0 = 0; (counter0 <chunkLen0); counter0 ++) { | ||
array0 .addPrimitive((decoder.readDouble())); | ||
} | ||
chunkLen0 = (decoder.arrayNext()); | ||
} | ||
return array0; | ||
} | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
...d/deserialization/AVRO_1_10/Array_of_FLOAT_GenericDeserializer_1012670397_1012670397.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_10; | ||
|
||
import java.io.IOException; | ||
import java.util.List; | ||
import com.linkedin.avro.api.PrimitiveFloatList; | ||
import com.linkedin.avro.fastserde.BufferBackedPrimitiveFloatList; | ||
import com.linkedin.avro.fastserde.FastDeserializer; | ||
import com.linkedin.avro.fastserde.customized.DatumReaderCustomization; | ||
import org.apache.avro.Schema; | ||
import org.apache.avro.io.Decoder; | ||
|
||
public class Array_of_FLOAT_GenericDeserializer_1012670397_1012670397 | ||
implements FastDeserializer<List<Float>> | ||
{ | ||
|
||
private final Schema readerSchema; | ||
|
||
public Array_of_FLOAT_GenericDeserializer_1012670397_1012670397(Schema readerSchema) { | ||
this.readerSchema = readerSchema; | ||
} | ||
|
||
public List<Float> deserialize(List<Float> reuse, Decoder decoder, DatumReaderCustomization customization) | ||
throws IOException | ||
{ | ||
PrimitiveFloatList array0 = null; | ||
array0 = ((PrimitiveFloatList) BufferBackedPrimitiveFloatList.readPrimitiveFloatArray((reuse), (decoder))); | ||
return array0; | ||
} | ||
|
||
} |
43 changes: 43 additions & 0 deletions
43
...ted/deserialization/AVRO_1_10/Array_of_INT_GenericDeserializer_1012089072_1012089072.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_10; | ||
|
||
import java.io.IOException; | ||
import java.util.List; | ||
import com.linkedin.avro.api.PrimitiveIntList; | ||
import com.linkedin.avro.fastserde.FastDeserializer; | ||
import com.linkedin.avro.fastserde.customized.DatumReaderCustomization; | ||
import com.linkedin.avro.fastserde.primitive.PrimitiveIntArrayList; | ||
import org.apache.avro.Schema; | ||
import org.apache.avro.io.Decoder; | ||
|
||
public class Array_of_INT_GenericDeserializer_1012089072_1012089072 | ||
implements FastDeserializer<List<Integer>> | ||
{ | ||
|
||
private final Schema readerSchema; | ||
|
||
public Array_of_INT_GenericDeserializer_1012089072_1012089072(Schema readerSchema) { | ||
this.readerSchema = readerSchema; | ||
} | ||
|
||
public List<Integer> deserialize(List<Integer> reuse, Decoder decoder, DatumReaderCustomization customization) | ||
throws IOException | ||
{ | ||
PrimitiveIntList array0 = null; | ||
long chunkLen0 = (decoder.readArrayStart()); | ||
if ((reuse) instanceof PrimitiveIntList) { | ||
array0 = ((PrimitiveIntList)(reuse)); | ||
array0 .clear(); | ||
} else { | ||
array0 = new PrimitiveIntArrayList(((int) chunkLen0)); | ||
} | ||
while (chunkLen0 > 0) { | ||
for (int counter0 = 0; (counter0 <chunkLen0); counter0 ++) { | ||
array0 .addPrimitive((decoder.readInt())); | ||
} | ||
chunkLen0 = (decoder.arrayNext()); | ||
} | ||
return array0; | ||
} | ||
|
||
} |
43 changes: 43 additions & 0 deletions
43
...ated/deserialization/AVRO_1_10/Array_of_LONG_GenericDeserializer_325099267_325099267.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_10; | ||
|
||
import java.io.IOException; | ||
import java.util.List; | ||
import com.linkedin.avro.api.PrimitiveLongList; | ||
import com.linkedin.avro.fastserde.FastDeserializer; | ||
import com.linkedin.avro.fastserde.customized.DatumReaderCustomization; | ||
import com.linkedin.avro.fastserde.primitive.PrimitiveLongArrayList; | ||
import org.apache.avro.Schema; | ||
import org.apache.avro.io.Decoder; | ||
|
||
public class Array_of_LONG_GenericDeserializer_325099267_325099267 | ||
implements FastDeserializer<List<Long>> | ||
{ | ||
|
||
private final Schema readerSchema; | ||
|
||
public Array_of_LONG_GenericDeserializer_325099267_325099267(Schema readerSchema) { | ||
this.readerSchema = readerSchema; | ||
} | ||
|
||
public List<Long> deserialize(List<Long> reuse, Decoder decoder, DatumReaderCustomization customization) | ||
throws IOException | ||
{ | ||
PrimitiveLongList array0 = null; | ||
long chunkLen0 = (decoder.readArrayStart()); | ||
if ((reuse) instanceof PrimitiveLongList) { | ||
array0 = ((PrimitiveLongList)(reuse)); | ||
array0 .clear(); | ||
} else { | ||
array0 = new PrimitiveLongArrayList(((int) chunkLen0)); | ||
} | ||
while (chunkLen0 > 0) { | ||
for (int counter0 = 0; (counter0 <chunkLen0); counter0 ++) { | ||
array0 .addPrimitive((decoder.readLong())); | ||
} | ||
chunkLen0 = (decoder.arrayNext()); | ||
} | ||
return array0; | ||
} | ||
|
||
} |
Oops, something went wrong.