com.datasalt.pangool.tuplemr.serialization
Class AvroFieldSerialization.AvroFieldDeserializer<T>

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

public static class AvroFieldSerialization.AvroFieldDeserializer<T>
extends Object
implements org.apache.hadoop.io.serializer.Deserializer<T>


Constructor Summary
AvroFieldSerialization.AvroFieldDeserializer(org.apache.avro.Schema schema, boolean isReflect)
           
 
Method Summary
 void close()
           
 T deserialize(T obj)
           
 void open(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroFieldSerialization.AvroFieldDeserializer

public AvroFieldSerialization.AvroFieldDeserializer(org.apache.avro.Schema schema,
                                                    boolean isReflect)
Method Detail

close

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

deserialize

public T deserialize(T obj)
              throws IOException
Specified by:
deserialize in interface org.apache.hadoop.io.serializer.Deserializer<T>
Throws:
IOException

open

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


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