public final class AVROUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static AVROUtils |
getInstance()
Thread safe singleton instance of the AVROUtil Class.
|
org.apache.avro.Schema |
getSchema(Object object)
Returns the schema Object.
|
String |
getSchemaDefinition(Object object)
Get the schema definition.
|
public static AVROUtils getInstance()
AVROUtils.public String getSchemaDefinition(@NonNull Object object)
object - object for which schema definition has to be derivedpublic org.apache.avro.Schema getSchema(@NonNull
Object object)
object - object is given by the Kafka.Schema.Copyright © 2019 Amazon Web Services, Inc. All Rights Reserved.