Class ProtoSerializer<T,B extends com.google.protobuf.Message.Builder>
java.lang.Object
org.apache.drill.exec.serialization.ProtoSerializer<T,B>
- All Implemented Interfaces:
InstanceSerializer<T>
public class ProtoSerializer<T,B extends com.google.protobuf.Message.Builder>
extends Object
implements InstanceSerializer<T>
-
Constructor Summary
ConstructorDescriptionProtoSerializer
(io.protostuff.Schema<B> readSchema, io.protostuff.Schema<T> writeSchema) -
Method Summary
-
Constructor Details
-
ProtoSerializer
-
-
Method Details
-
deserialize
- Specified by:
deserialize
in interfaceInstanceSerializer<T>
- Throws:
IOException
-
serialize
- Specified by:
serialize
in interfaceInstanceSerializer<T>
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-