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