Deprecated API
Contents
-
Deprecated ClassesClassDescriptionuse
SaslSocketServerinstead.useSaslSocketTransceiverinstead.Use org.apache.avro.util.MapEntry
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionuse javaUnbox(Schema, boolean), kept for backward compatibility of custom templatesAs of Avro 1.6.0 this method has been moved to
GenericData.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) callUtf8.getByteLength()instead.callUtf8.setByteLength(int)instead.
-
Deprecated ConstructorsConstructorDescription- use the Constructors that take a ConnectionFactory- use the Constructors that take a ConnectionFactory