Package com.linkedin.venice.serializer
Class FastAvroSerializer<K>
java.lang.Object
com.linkedin.venice.serializer.AvroSerializer<K>
com.linkedin.venice.serializer.FastAvroSerializer<K>
- Type Parameters:
K
-
- All Implemented Interfaces:
RecordSerializer<K>
This class is leveraging linkedin-avro-fastserde-impl to speed up serialization,
and so far it doesn't work for Avro-1.4, and it will fail back to regular Avro.
-
Constructor Summary
ConstructorDescriptionFastAvroSerializer
(org.apache.avro.Schema schema, com.linkedin.avro.fastserde.FastSerdeCache cache) FastAvroSerializer
(org.apache.avro.Schema schema, com.linkedin.avro.fastserde.FastSerdeCache cache, boolean buffered) -
Method Summary
Methods inherited from class com.linkedin.venice.serializer.AvroSerializer
serialize, serializeObjects, serializeObjects, serializeObjects, write
-
Constructor Details
-
FastAvroSerializer
public FastAvroSerializer(org.apache.avro.Schema schema, com.linkedin.avro.fastserde.FastSerdeCache cache) -
FastAvroSerializer
public FastAvroSerializer(org.apache.avro.Schema schema, com.linkedin.avro.fastserde.FastSerdeCache cache, boolean buffered)
-