public class SerializationFactory extends Configured
A factory for Serialization
s.
构造器和说明 |
---|
SerializationFactory(Configuration conf)
Serializations are found by reading the
io.serializations
property from conf , which is a comma-delimited list of
classnames. |
限定符和类型 | 方法和说明 |
---|---|
<T> Deserializer<T> |
getDeserializer(Class<T> c) |
<T> Serialization<T> |
getSerialization(Class<T> c) |
<T> Serializer<T> |
getSerializer(Class<T> c) |
getConf, setConf
public SerializationFactory(Configuration conf)
Serializations are found by reading the io.serializations
property from conf
, which is a comma-delimited list of
classnames.
public <T> Serializer<T> getSerializer(Class<T> c)
public <T> Deserializer<T> getDeserializer(Class<T> c)
public <T> Serialization<T> getSerialization(Class<T> c)
Copyright © 2009 The Apache Software Foundation