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