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