public class AvroSchema extends Object implements com.fasterxml.jackson.core.FormatSchema
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.avro.Schema | _avroSchema | 
| protected AtomicReference<AvroStructureReader> | _reader | 
| protected static org.apache.avro.io.DecoderFactory | DECODER_FACTORY | 
| protected static ThreadLocal<SoftReference<org.apache.avro.io.BinaryDecoder>> | decoderRecycler | 
| protected static org.apache.avro.io.EncoderFactory | ENCODER_FACTORY | 
| protected static ThreadLocal<SoftReference<org.apache.avro.io.BinaryEncoder>> | encoderRecycler | 
| static String | TYPE_ID | 
| Constructor and Description | 
|---|
| AvroSchema(org.apache.avro.Schema asch) | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.avro.io.BinaryDecoder | decoder(byte[] buffer,
       int offset,
       int len) | 
| static org.apache.avro.io.BinaryDecoder | decoder(InputStream in,
       boolean buffering) | 
| static org.apache.avro.io.BinaryEncoder | encoder(OutputStream out,
       boolean buffering) | 
| org.apache.avro.Schema | getAvroSchema() | 
| AvroStructureReader | getReader() | 
| String | getSchemaType() | 
public static final String TYPE_ID
protected static final org.apache.avro.io.DecoderFactory DECODER_FACTORY
protected static final org.apache.avro.io.EncoderFactory ENCODER_FACTORY
protected static final ThreadLocal<SoftReference<org.apache.avro.io.BinaryDecoder>> decoderRecycler
protected static final ThreadLocal<SoftReference<org.apache.avro.io.BinaryEncoder>> encoderRecycler
protected final org.apache.avro.Schema _avroSchema
protected final AtomicReference<AvroStructureReader> _reader
public String getSchemaType()
getSchemaType in interface com.fasterxml.jackson.core.FormatSchemapublic org.apache.avro.Schema getAvroSchema()
public static org.apache.avro.io.BinaryDecoder decoder(InputStream in, boolean buffering)
public static org.apache.avro.io.BinaryDecoder decoder(byte[] buffer,
                                       int offset,
                                       int len)
public static org.apache.avro.io.BinaryEncoder encoder(OutputStream out, boolean buffering)
public AvroStructureReader getReader()
Copyright © 2016 FasterXML. All rights reserved.