Class AvroRequestMarshaller

java.lang.Object
org.apache.avro.grpc.AvroRequestMarshaller
All Implemented Interfaces:
io.grpc.MethodDescriptor.Marshaller<Object[]>

public class AvroRequestMarshaller extends Object implements io.grpc.MethodDescriptor.Marshaller<Object[]>
Marshaller for Avro RPC request.
  • Constructor Details

    • AvroRequestMarshaller

      public AvroRequestMarshaller(Protocol.Message message)
  • Method Details

    • stream

      public InputStream stream(Object[] value)
      Specified by:
      stream in interface io.grpc.MethodDescriptor.Marshaller<Object[]>
    • parse

      public Object[] parse(InputStream stream)
      Specified by:
      parse in interface io.grpc.MethodDescriptor.Marshaller<Object[]>