Package | Description |
---|---|
org.apache.avro.io |
Utilities for Encoding and Decoding Avro data.
|
org.apache.avro.specific |
Generate specific Java classes for schemas and protocols.
|
Modifier and Type | Method and Description |
---|---|
BinaryDecoder |
DecoderFactory.binaryDecoder(byte[] bytes,
BinaryDecoder reuse)
This method is shorthand for
|
BinaryDecoder |
DecoderFactory.binaryDecoder(byte[] bytes,
int offset,
int length,
BinaryDecoder reuse)
Creates or reinitializes a
BinaryDecoder with the byte array provided
as the source of data. |
BinaryDecoder |
DecoderFactory.binaryDecoder(InputStream in,
BinaryDecoder reuse)
Creates or reinitializes a
BinaryDecoder with the input stream
provided as the source of data. |
BinaryDecoder |
DecoderFactory.createBinaryDecoder(byte[] bytes,
BinaryDecoder reuse)
Deprecated.
|
BinaryDecoder |
DecoderFactory.createBinaryDecoder(byte[] bytes,
int offset,
int length,
BinaryDecoder reuse)
Deprecated.
|
BinaryDecoder |
DecoderFactory.createBinaryDecoder(InputStream in,
BinaryDecoder reuse)
Deprecated.
use the equivalent
DecoderFactory.binaryDecoder(InputStream, BinaryDecoder) instead |
BinaryDecoder |
DecoderFactory.directBinaryDecoder(InputStream in,
BinaryDecoder reuse)
Creates or reinitializes a
BinaryDecoder with the input stream
provided as the source of data. |
Modifier and Type | Method and Description |
---|---|
BinaryDecoder |
DecoderFactory.binaryDecoder(byte[] bytes,
BinaryDecoder reuse)
This method is shorthand for
|
BinaryDecoder |
DecoderFactory.binaryDecoder(byte[] bytes,
int offset,
int length,
BinaryDecoder reuse)
Creates or reinitializes a
BinaryDecoder with the byte array provided
as the source of data. |
BinaryDecoder |
DecoderFactory.binaryDecoder(InputStream in,
BinaryDecoder reuse)
Creates or reinitializes a
BinaryDecoder with the input stream
provided as the source of data. |
BinaryDecoder |
DecoderFactory.createBinaryDecoder(byte[] bytes,
BinaryDecoder reuse)
Deprecated.
|
BinaryDecoder |
DecoderFactory.createBinaryDecoder(byte[] bytes,
int offset,
int length,
BinaryDecoder reuse)
Deprecated.
|
BinaryDecoder |
DecoderFactory.createBinaryDecoder(InputStream in,
BinaryDecoder reuse)
Deprecated.
use the equivalent
DecoderFactory.binaryDecoder(InputStream, BinaryDecoder) instead |
BinaryDecoder |
DecoderFactory.directBinaryDecoder(InputStream in,
BinaryDecoder reuse)
Creates or reinitializes a
BinaryDecoder with the input stream
provided as the source of data. |
Modifier and Type | Method and Description |
---|---|
static BinaryDecoder |
SpecificData.getDecoder(ObjectInput in)
Runtime utility used by generated classes.
|
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.