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