public class KafkaWritable extends Object implements org.apache.hadoop.io.Writable
timestamp long| partition (int) | offset (long) | value.size() (int) |
value (byte []) | recordKey.size()| recordKey (byte [])| Constructor and Description |
|---|
KafkaWritable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
readFields(DataInput dataInput) |
String |
toString() |
void |
write(DataOutput dataOutput) |
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.