public abstract class AvroSchemaHelper extends Object
Constructor and Description |
---|
AvroSchemaHelper() |
Modifier and Type | Method and Description |
---|---|
static org.apache.avro.Schema |
anyNumberSchema() |
protected static String |
getName(com.fasterxml.jackson.databind.JavaType type) |
protected static String |
getNamespace(com.fasterxml.jackson.databind.JavaType type) |
static org.apache.avro.Schema |
numericAvroSchema(com.fasterxml.jackson.core.JsonParser.NumberType type) |
static org.apache.avro.Schema |
simpleSchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type) |
protected static <T> T |
throwUnsupported() |
protected static org.apache.avro.Schema |
unionWithNull(org.apache.avro.Schema otherSchema) |
protected static String getNamespace(com.fasterxml.jackson.databind.JavaType type)
protected static String getName(com.fasterxml.jackson.databind.JavaType type)
protected static org.apache.avro.Schema unionWithNull(org.apache.avro.Schema otherSchema)
public static org.apache.avro.Schema simpleSchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type)
public static org.apache.avro.Schema numericAvroSchema(com.fasterxml.jackson.core.JsonParser.NumberType type)
public static org.apache.avro.Schema anyNumberSchema()
protected static <T> T throwUnsupported()
Copyright © 2016 FasterXML. All rights reserved.