public class ProtoMessageWritable<T extends com.google.protobuf.MessageLite> extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Method and Description |
---|---|
T |
getMessage() |
void |
readFields(DataInput in) |
void |
setMessage(T message) |
void |
write(DataOutput out) |
public T getMessage()
public void setMessage(T message)
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.