public class WritableSerialization extends Configured implements Serialization<Writable>
Serialization
for Writable
s that delegates to
Writable.write(java.io.DataOutput)
and
Writable.readFields(java.io.DataInput)
.构造器和说明 |
---|
WritableSerialization() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(Class<?> c)
Allows clients to test whether this
Serialization
supports the given class. |
Deserializer<Writable> |
getDeserializer(Class<Writable> c) |
Serializer<Writable> |
getSerializer(Class<Writable> c) |
getConf, setConf
public boolean accept(Class<?> c)
Serialization
Serialization
supports the given class.accept
在接口中 Serialization<Writable>
public Deserializer<Writable> getDeserializer(Class<Writable> c)
getDeserializer
在接口中 Serialization<Writable>
Deserializer
for the given class.public Serializer<Writable> getSerializer(Class<Writable> c)
getSerializer
在接口中 Serialization<Writable>
Serializer
for the given class.Copyright © 2009 The Apache Software Foundation