public static class AvroDatumConverterFactory.BytesWritableConverter extends AvroDatumConverter<org.apache.hadoop.io.BytesWritable,ByteBuffer>
Constructor and Description |
---|
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 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–2021 The Apache Software Foundation. All rights reserved.