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:GenericContainer
The schema of this instance.- Specified by:
getSchema
in interfaceGenericContainer
- Specified by:
getSchema
in classSpecificFixed
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Specified by:
writeExternal
in classSpecificFixed
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Specified by:
readExternal
in classSpecificFixed
- Throws:
IOException
-