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