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