Package org.apache.avro.ipc
Class MD5
java.lang.Object
org.apache.avro.specific.SpecificFixed
org.apache.avro.ipc.MD5
- All Implemented Interfaces:
Externalizable,Serializable,Comparable<org.apache.avro.specific.SpecificFixed>,org.apache.avro.generic.GenericContainer,org.apache.avro.generic.GenericFixed
@FixedSize(16)
public class MD5
extends org.apache.avro.specific.SpecificFixed
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.avro.Schemaorg.apache.avro.SchemavoidvoidMethods inherited from class org.apache.avro.specific.SpecificFixed
bytes, bytes, compareTo, equals, hashCode, toString
-
Field Details
-
SCHEMA$
public static final org.apache.avro.Schema SCHEMA$
-
-
Constructor Details
-
MD5
public MD5()Creates a new MD5 -
MD5
public MD5(byte[] bytes) Creates a new MD5 with the given bytes.- Parameters:
bytes- The bytes to create the new MD5.
-
-
Method Details
-
getClassSchema
public static org.apache.avro.Schema getClassSchema() -
getSchema
public org.apache.avro.Schema getSchema()- Specified by:
getSchemain interfaceorg.apache.avro.generic.GenericContainer- Specified by:
getSchemain classorg.apache.avro.specific.SpecificFixed
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Specified by:
writeExternalin classorg.apache.avro.specific.SpecificFixed- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Specified by:
readExternalin classorg.apache.avro.specific.SpecificFixed- Throws:
IOException
-