org.apache.avro.mapred
Class AvroKey<T>

java.lang.Object
  extended by org.apache.avro.mapred.AvroWrapper<T>
      extended by org.apache.avro.mapred.AvroKey<T>

public class AvroKey<T>
extends AvroWrapper<T>

The wrapper of keys for jobs configured with AvroJob .


Constructor Summary
AvroKey()
          Wrap null.
AvroKey(T datum)
          Wrap a key.
 
Method Summary
 
Methods inherited from class org.apache.avro.mapred.AvroWrapper
datum, datum, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroKey

public AvroKey()
Wrap null. Construct AvroKey wrapping no key.


AvroKey

public AvroKey(T datum)
Wrap a key.



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.