@InterfaceAudience.Private public class NativeSerialization extends Object
Constructor and Description |
---|
NativeSerialization() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Class<?> c) |
static NativeSerialization |
getInstance() |
INativeSerializer<org.apache.hadoop.io.Writable> |
getSerializer(Class<?> c) |
void |
register(String klass,
Class<?> serializer) |
void |
reset() |
public boolean accept(Class<?> c)
public INativeSerializer<org.apache.hadoop.io.Writable> getSerializer(Class<?> c) throws IOException
IOException
public void register(String klass, Class<?> serializer) throws IOException
IOException
public void reset()
public static NativeSerialization getInstance()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.