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 | Class and Description |
---|---|
class |
BlockingBinaryEncoder
A
BinaryEncoder implementation that writes large arrays and maps as a
sequence of blocks. |
class |
BufferedBinaryEncoder
An
Encoder for Avro's binary encoding. |
class |
DirectBinaryEncoder
An
Encoder for Avro's binary encoding that does not buffer output. |
Modifier and Type | Method and Description |
---|---|
BinaryEncoder |
EncoderFactory.binaryEncoder(OutputStream out,
BinaryEncoder reuse)
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data. |
BinaryEncoder |
EncoderFactory.blockingBinaryEncoder(OutputStream out,
BinaryEncoder reuse)
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data. |
BinaryEncoder |
EncoderFactory.directBinaryEncoder(OutputStream out,
BinaryEncoder reuse)
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data. |
Modifier and Type | Method and Description |
---|---|
BinaryEncoder |
EncoderFactory.binaryEncoder(OutputStream out,
BinaryEncoder reuse)
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data. |
BinaryEncoder |
EncoderFactory.blockingBinaryEncoder(OutputStream out,
BinaryEncoder reuse)
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data. |
BinaryEncoder |
EncoderFactory.directBinaryEncoder(OutputStream out,
BinaryEncoder reuse)
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data. |
Modifier and Type | Method and Description |
---|---|
static BinaryEncoder |
SpecificData.getEncoder(ObjectOutput out)
Runtime utility used by generated classes.
|
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.