public static class AvroDatumConverterFactory.BytesWritableConverter extends AvroDatumConverter<org.apache.hadoop.io.BytesWritable,ByteBuffer>
Constructor and Description |
---|
AvroDatumConverterFactory.BytesWritableConverter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
convert(org.apache.hadoop.io.BytesWritable input) |
Schema |
getWriterSchema()
Gets the writer schema that should be used to serialize the output Avro datum.
|
public AvroDatumConverterFactory.BytesWritableConverter()
public ByteBuffer convert(org.apache.hadoop.io.BytesWritable input)
convert
in class AvroDatumConverter<org.apache.hadoop.io.BytesWritable,ByteBuffer>
public Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<org.apache.hadoop.io.BytesWritable,ByteBuffer>
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.