Class AvroKey<T>

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

public class AvroKey<T> extends AvroWrapper<T>
The wrapper of keys for jobs configured with AvroJob .
  • Constructor Details

    • AvroKey

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

      public AvroKey(T datum)
      Wrap a key.