public class SchemaUtil extends Object
| Constructor and Description |
|---|
SchemaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.Schema |
createAvroSchema(SchemaDefinition schemaDefinition) |
static org.apache.avro.Schema |
extractAvroSchema(SchemaDefinition schemaDefinition,
Class pojo) |
static boolean |
getJsr310ConversionEnabledFromSchemaInfo(SchemaInfo schemaInfo) |
static org.apache.avro.Schema |
parseAvroSchema(String schemaJson) |
static <T> SchemaInfo |
parseSchemaInfo(SchemaDefinition<T> schemaDefinition,
SchemaType schemaType) |
public static boolean getJsr310ConversionEnabledFromSchemaInfo(SchemaInfo schemaInfo)
public static org.apache.avro.Schema parseAvroSchema(String schemaJson)
public static <T> SchemaInfo parseSchemaInfo(SchemaDefinition<T> schemaDefinition, SchemaType schemaType)
public static org.apache.avro.Schema createAvroSchema(SchemaDefinition schemaDefinition)
public static org.apache.avro.Schema extractAvroSchema(SchemaDefinition schemaDefinition, Class pojo)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.