@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
INativeSerializer
getLength
in interface INativeSerializer<org.apache.hadoop.io.BytesWritable>
IOException
public void serialize(org.apache.hadoop.io.BytesWritable w, DataOutput out) throws IOException
serialize
in interface INativeSerializer<org.apache.hadoop.io.BytesWritable>
IOException
public void deserialize(DataInput in, int length, org.apache.hadoop.io.BytesWritable w) throws IOException
deserialize
in interface INativeSerializer<org.apache.hadoop.io.BytesWritable>
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.