Top Deprecated
Apache Avro 1.11.3

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.avro.Schema.createRecord(List<Schema.Field> fields)

This method allows to create Schema objects that cannot be parsed by Schema.Parser#parse(String). It will be removed in a future version of Avro. Better use icreateRecord(String, String, String, boolean, List) to produce a fully qualified Schema.

Returns:

The freshly built Schema.
org.apache.avro.Schema.parse
(File
The file to read the schema from.
file
)

use Schema.Parser instead.

Returns:

The freshly built Schema.
org.apache.avro.Schema.parse
(InputStream
The input stream to read the schema from.
in
)

use Schema.Parser instead.

org.apache.avro.Schema.parse(String jsonSchema, boolean
true if names should be validated, false if not.
validate
)

use Schema.Parser instead.

org.apache.avro.Schema.toString(Collection<Schema>
referenced schemas
referencedSchemas
,
boolean
if true, pretty-print JSON.
pretty
)

org.apache.avro.generic.GenericDatumReader.createFixed(Object old, byte[] bytes, Schema schema)

As of Avro 1.6.0 this method has been moved to GenericData#createFixed(Object, byte[], Schema)

org.apache.avro.reflect.MapEntry<
Key of the map-entry
K
,
Value of the map-entry
V
>

Use org.apache.avro.util.MapEntry