@InterfaceAudience.Private public class BytesWritableSerializer extends Object implements INativeComparable, INativeSerializer<org.apache.hadoop.io.BytesWritable>
| Constructor and Description | 
|---|
BytesWritableSerializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
deserialize(DataInput in,
           int length,
           org.apache.hadoop.io.BytesWritable w)  | 
int | 
getLength(org.apache.hadoop.io.BytesWritable w)
get length of data to be serialized. 
 | 
void | 
serialize(org.apache.hadoop.io.BytesWritable w,
         DataOutput out)  | 
public int getLength(org.apache.hadoop.io.BytesWritable w)
              throws IOException
INativeSerializergetLength in interface INativeSerializer<org.apache.hadoop.io.BytesWritable>IOExceptionpublic void serialize(org.apache.hadoop.io.BytesWritable w,
                      DataOutput out)
               throws IOException
serialize in interface INativeSerializer<org.apache.hadoop.io.BytesWritable>IOExceptionpublic void deserialize(DataInput in, int length, org.apache.hadoop.io.BytesWritable w) throws IOException
deserialize in interface INativeSerializer<org.apache.hadoop.io.BytesWritable>IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.