Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated ClassesClassDescriptionuse
SaslSocketServerinstead.useSaslSocketTransceiverinstead.Use org.apache.avro.util.MapEntry
-
Deprecated FieldsFieldDescriptionUse
IdlLexer.VOCABULARYinstead.UseIdlParser.VOCABULARYinstead.UseClassSecurityValidator.SystemPropertiesPredicateinstead.UseClassSecurityValidator.SystemPropertiesPredicateinstead.
-
Deprecated MethodsMethodDescriptionUse
SpecificCompiler.escapeForJavaString(String)insteaduse javaUnbox(Schema, boolean), kept for backward compatibility of custom templatesAs of Avro 1.6.0 this method has been moved toGenericData.createFixed(Object, byte[], Schema)As of Avro 1.6.0 this method has been moved toGenericData.createFixed(Object, Schema)As of Avro 1.6.0 this method has been moved toGenericData.newRecord(Object, Schema)use the equivalentDecoderFactory.binaryDecoder(InputStream, BinaryDecoder)insteaduse the equivalentDecoderFactory.get()insteadUseAvroMultipleOutputs.collect(java.lang.String, org.apache.hadoop.mapred.Reporter, java.lang.Object)method for collecting outputcan return invalid schemata: do NOT use!This method allows to create Schema objects that cannot be parsed bySchemaParser.parse(CharSequence). It will be removed in a future version of Avro. Better useSchema.createRecord(String, String, String, boolean, List)to produce a fully qualified Schema.useSchemaParserinstead.useSchemaParserinstead.useSchemaParserinstead.useSchemaParserinstead.use addTypes(Iterabletypes) UseClassSecurityValidator.SystemPropertiesPredicateinstead.UseClassSecurityValidator.SystemPropertiesPredicateinstead.As of JDK 1.9 this issue has been resolved.
-
Deprecated ConstructorsConstructorDescription- use the Constructors that take a ConnectionFactory- use the Constructors that take a ConnectionFactory