@InterfaceAudience.Private public class NullWritableSerializer extends DefaultSerializer implements INativeComparable
Constructor and Description |
---|
NullWritableSerializer() |
Modifier and Type | Method and Description |
---|---|
int |
getLength(org.apache.hadoop.io.Writable w)
get length of data to be serialized.
|
deserialize, serialize
public int getLength(org.apache.hadoop.io.Writable w) throws IOException
INativeSerializer
getLength
in interface INativeSerializer<org.apache.hadoop.io.Writable>
getLength
in class DefaultSerializer
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.