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<SpecificFixed>,GenericContainer,GenericFixed
- See Also:
-
Field Details
-
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
-
getSchema
Description copied from interface:GenericContainerThe schema of this instance.- Specified by:
getSchemain interfaceGenericContainer- Specified by:
getSchemain classSpecificFixed
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Specified by:
writeExternalin classSpecificFixed- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Specified by:
readExternalin classSpecificFixed- Throws:
IOException
-