Package org.apache.avro.idl
Class IdlSchemaFormatterFactory
java.lang.Object
org.apache.avro.idl.IdlSchemaFormatterFactory
- All Implemented Interfaces:
SchemaFormatterFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the default formatter for this schema format.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.avro.SchemaFormatterFactory
formatName, getFormatterForVariant
-
Constructor Details
-
IdlSchemaFormatterFactory
public IdlSchemaFormatterFactory()
-
-
Method Details
-
getDefaultFormatter
Description copied from interface:SchemaFormatterFactory
Get the default formatter for this schema format. Instances should be thread-safe, as they may be cached.Implementations should either return the only formatter for this format, or call
SchemaFormatterFactory.getFormatterForVariant(String)
with the default variant and implement that method as well.- Specified by:
getDefaultFormatter
in interfaceSchemaFormatterFactory
- Returns:
- the default formatter for this schema format
-