public static class AvroDatumConverterFactory.TextConverter extends AvroDatumConverter<Text,CharSequence>
Constructor and Description |
---|
TextConverter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
convert(Text input) |
org.apache.avro.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 org.apache.avro.Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<Text,CharSequence>
Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.