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