public abstract class AvroInputStream extends InputStream implements io.grpc.Drainable
InputStream backed by Avro RPC request/response that can drained
 to aOutputStream.| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
AvroInputStream.CountingOutputStream
An  
OutputStream that writes to a target OutputStream and
 provides total number of bytes written to it. | 
| Constructor and Description | 
|---|
AvroInputStream()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ByteArrayInputStream | 
getPartial()  | 
int | 
read()  | 
int | 
read(byte[] b,
    int off,
    int len)  | 
available, close, mark, markSupported, read, reset, skippublic int read(byte[] b,
                int off,
                int len)
         throws IOException
read in class InputStreamIOExceptionpublic int read()
         throws IOException
read in class InputStreamIOExceptionprotected ByteArrayInputStream getPartial()
Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.