Deprecated API
Contents
-
ClassDescriptionuse
SaslSocketServer
instead.useSaslSocketTransceiver
instead.Use org.apache.avro.util.MapEntry
-
MethodDescriptionuse 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.useSchemaParser
instead.useSchemaParser
instead.useSchemaParser
instead.useSchemaParser
instead.use addTypes(Iterabletypes) callUtf8.getByteLength()
instead.callUtf8.setByteLength(int)
instead.
-
ConstructorDescription- use the Constructors that take a ConnectionFactory- use the Constructors that take a ConnectionFactory