Uses of Class
org.apache.avro.io.BinaryDecoder
Package
Description
Utilities for Encoding and Decoding Avro data.
Generate specific Java classes for schemas and protocols.
-
Uses of BinaryDecoder in org.apache.avro.io
Modifier and TypeMethodDescriptionDecoderFactory.binaryDecoder
(byte[] bytes, int offset, int length, BinaryDecoder reuse) Creates or reinitializes aBinaryDecoder
with the byte array provided as the source of data.DecoderFactory.binaryDecoder
(byte[] bytes, BinaryDecoder reuse) This method is shorthand forDecoderFactory.binaryDecoder
(InputStream in, BinaryDecoder reuse) Creates or reinitializes aBinaryDecoder
with the input stream provided as the source of data.DecoderFactory.createBinaryDecoder
(byte[] bytes, int offset, int length, BinaryDecoder reuse) Deprecated.DecoderFactory.createBinaryDecoder
(byte[] bytes, BinaryDecoder reuse) Deprecated.DecoderFactory.createBinaryDecoder
(InputStream in, BinaryDecoder reuse) Deprecated.use the equivalentDecoderFactory.binaryDecoder(InputStream, BinaryDecoder)
insteadDecoderFactory.directBinaryDecoder
(InputStream in, BinaryDecoder reuse) Creates or reinitializes aBinaryDecoder
with the input stream provided as the source of data.Modifier and TypeMethodDescriptionDecoderFactory.binaryDecoder
(byte[] bytes, int offset, int length, BinaryDecoder reuse) Creates or reinitializes aBinaryDecoder
with the byte array provided as the source of data.DecoderFactory.binaryDecoder
(byte[] bytes, BinaryDecoder reuse) This method is shorthand forDecoderFactory.binaryDecoder
(InputStream in, BinaryDecoder reuse) Creates or reinitializes aBinaryDecoder
with the input stream provided as the source of data.DecoderFactory.createBinaryDecoder
(byte[] bytes, int offset, int length, BinaryDecoder reuse) Deprecated.DecoderFactory.createBinaryDecoder
(byte[] bytes, BinaryDecoder reuse) Deprecated.DecoderFactory.createBinaryDecoder
(InputStream in, BinaryDecoder reuse) Deprecated.use the equivalentDecoderFactory.binaryDecoder(InputStream, BinaryDecoder)
insteadDecoderFactory.directBinaryDecoder
(InputStream in, BinaryDecoder reuse) Creates or reinitializes aBinaryDecoder
with the input stream provided as the source of data. -
Uses of BinaryDecoder in org.apache.avro.specific
Modifier and TypeMethodDescriptionstatic BinaryDecoder
SpecificData.getDecoder
(ObjectInput in) Runtime utility used by generated classes.
DecoderFactory.binaryDecoder(byte[], int, int, BinaryDecoder)
instead