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) |
org.apache.avro.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 org.apache.avro.Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<org.apache.hadoop.io.IntWritable,Integer>
Copyright © 2009–2020 Cloudera. All rights reserved.