org.apache.hadoop.hbase.mapreduce
Class KeyValueSerialization.KeyValueSerializer

java.lang.Object
  extended by org.apache.hadoop.hbase.mapreduce.KeyValueSerialization.KeyValueSerializer
All Implemented Interfaces:
org.apache.hadoop.io.serializer.Serializer<KeyValue>
Enclosing class:
KeyValueSerialization

public static class KeyValueSerialization.KeyValueSerializer
extends Object
implements org.apache.hadoop.io.serializer.Serializer<KeyValue>


Constructor Summary
KeyValueSerialization.KeyValueSerializer()
           
 
Method Summary
 void close()
           
 void open(OutputStream os)
           
 void serialize(KeyValue kv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValueSerialization.KeyValueSerializer

public KeyValueSerialization.KeyValueSerializer()
Method Detail

close

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

open

public void open(OutputStream os)
          throws IOException
Specified by:
open in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>
Throws:
IOException

serialize

public void serialize(KeyValue kv)
               throws IOException
Specified by:
serialize in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>
Throws:
IOException


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.