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