com.datasalt.pangool.serialization
Class ProtoStuffSerialization.ProtoStuffDeserializer<T extends com.dyuproject.protostuff.Schema>

java.lang.Object
  extended by com.datasalt.pangool.serialization.ProtoStuffSerialization.ProtoStuffDeserializer<T>
All Implemented Interfaces:
org.apache.hadoop.io.serializer.Deserializer<T>
Enclosing class:
ProtoStuffSerialization

public static class ProtoStuffSerialization.ProtoStuffDeserializer<T extends com.dyuproject.protostuff.Schema>
extends Object
implements org.apache.hadoop.io.serializer.Deserializer<T>


Constructor Summary
ProtoStuffSerialization.ProtoStuffDeserializer(Class<T> tClass)
           
 
Method Summary
 void close()
           
 T deserialize(T t)
           
 void open(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtoStuffSerialization.ProtoStuffDeserializer

public ProtoStuffSerialization.ProtoStuffDeserializer(Class<T> tClass)
Method Detail

open

public void open(InputStream in)
          throws IOException
Specified by:
open in interface org.apache.hadoop.io.serializer.Deserializer<T extends com.dyuproject.protostuff.Schema>
Throws:
IOException

deserialize

public T deserialize(T t)
                                                       throws IOException
Specified by:
deserialize in interface org.apache.hadoop.io.serializer.Deserializer<T extends com.dyuproject.protostuff.Schema>
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface org.apache.hadoop.io.serializer.Deserializer<T extends com.dyuproject.protostuff.Schema>
Throws:
IOException


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.