com.ning.metrics.serialization.hadoop
Class HadoopThriftWritableSerialization

java.lang.Object
  extended by com.ning.metrics.serialization.hadoop.HadoopThriftWritableSerialization
All Implemented Interfaces:
org.apache.hadoop.io.serializer.Serialization<ThriftWritable>

public class HadoopThriftWritableSerialization
extends Object
implements org.apache.hadoop.io.serializer.Serialization<ThriftWritable>


Constructor Summary
HadoopThriftWritableSerialization()
           
 
Method Summary
 boolean accept(Class<?> c)
           
 org.apache.hadoop.io.serializer.Deserializer<ThriftWritable> getDeserializer(Class<ThriftWritable> c)
           
 org.apache.hadoop.io.serializer.Serializer<ThriftWritable> getSerializer(Class<ThriftWritable> c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopThriftWritableSerialization

public HadoopThriftWritableSerialization()
Method Detail

accept

public boolean accept(Class<?> c)
Specified by:
accept in interface org.apache.hadoop.io.serializer.Serialization<ThriftWritable>

getDeserializer

public org.apache.hadoop.io.serializer.Deserializer<ThriftWritable> getDeserializer(Class<ThriftWritable> c)
Specified by:
getDeserializer in interface org.apache.hadoop.io.serializer.Serialization<ThriftWritable>

getSerializer

public org.apache.hadoop.io.serializer.Serializer<ThriftWritable> getSerializer(Class<ThriftWritable> c)
Specified by:
getSerializer in interface org.apache.hadoop.io.serializer.Serialization<ThriftWritable>


Copyright © 2011. All Rights Reserved.