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

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

public class AvroValue<T>
extends AvroWrapper<T>

The wrapper of values for jobs configured with AvroJob .


Constructor Summary
AvroValue()
          Wrap null.
AvroValue(T datum)
          Wrap a value.
 
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

AvroValue

public AvroValue()
Wrap null. Construct AvroValue wrapping no value.


AvroValue

public AvroValue(T datum)
Wrap a value.



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