public final class ApacheCodecRecycler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApacheCodecRecycler.BadSchemaException |
Modifier and Type | Field and Description |
---|---|
protected static ThreadLocal<SoftReference<ApacheCodecRecycler>> |
_recycler |
protected static org.apache.avro.io.DecoderFactory |
DECODER_FACTORY |
protected static org.apache.avro.io.EncoderFactory |
ENCODER_FACTORY |
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) |
static void |
release(org.apache.avro.io.BinaryDecoder dec) |
static void |
release(org.apache.avro.io.BinaryEncoder enc) |
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<ApacheCodecRecycler>> _recycler
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 static void release(org.apache.avro.io.BinaryDecoder dec)
public static void release(org.apache.avro.io.BinaryEncoder enc)
Copyright © 2022 FasterXML. All rights reserved.