public class SchemaFormatter extends Object implements Formatter<AvroSchema>
| Constructor and Description |
|---|
SchemaFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatFields(FormatterConfig config,
AvroSchema schema) |
String |
formatLine(FormatterConfig config,
String name,
String value) |
String |
toJson(AvroSchema avroSchema,
FormatterConfig config) |
public String toJson(AvroSchema avroSchema, FormatterConfig config)
toJson in interface Formatter<AvroSchema>public String formatLine(FormatterConfig config, String name, String value)
public String formatFields(FormatterConfig config, AvroSchema schema)
Copyright © 2021. All rights reserved.