WritableProtobufWrapperLegacy, RpcWritable.Buffer@Private public abstract class RpcWritable extends java.lang.Object implements Writable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
RpcWritable.Buffer |
adapter to allow decoding of writables and protobufs from a byte buffer.
|
| Constructor | Description |
|---|---|
RpcWritable() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
readFields(java.io.DataInput in) |
Deserialize the fields of this object from
in. |
void |
write(java.io.DataOutput out) |
Serialize the fields of this object to
out. |
public final void readFields(java.io.DataInput in)
throws java.io.IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.java.io.IOException - any other problem for readFields.public final void write(java.io.DataOutput out)
throws java.io.IOException
Writableout.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.