This project has retired. For details please refer to its
Attic page.
PersistentDeserializer (Apache Gora 0.2 API)
org.apache.gora.mapreduce
Class PersistentDeserializer
java.lang.Object
org.apache.gora.mapreduce.PersistentDeserializer
- All Implemented Interfaces:
- org.apache.hadoop.io.serializer.Deserializer<Persistent>
public class PersistentDeserializer
- extends Object
- implements org.apache.hadoop.io.serializer.Deserializer<Persistent>
Hadoop deserializer using PersistentDatumReader
with BinaryDecoder
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentDeserializer
public PersistentDeserializer(Class<? extends Persistent> c,
boolean reuseObjects)
open
public void open(InputStream in)
throws IOException
- Specified by:
open
in interface org.apache.hadoop.io.serializer.Deserializer<Persistent>
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface org.apache.hadoop.io.serializer.Deserializer<Persistent>
- Throws:
IOException
deserialize
public Persistent deserialize(Persistent persistent)
throws IOException
- Specified by:
deserialize
in interface org.apache.hadoop.io.serializer.Deserializer<Persistent>
- Throws:
IOException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.