public static class AvroDatumConverterFactory.BytesWritableConverter extends AvroDatumConverter<BytesWritable,ByteBuffer>
Constructor and Description |
---|
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 ByteBuffer convert(BytesWritable input)
convert
in class AvroDatumConverter<BytesWritable,ByteBuffer>
public Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<BytesWritable,ByteBuffer>
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.