@FixedSize(value=16)
public class MD5
extends org.apache.avro.specific.SpecificFixed
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
MD5()
Creates a new MD5
|
MD5(byte[] bytes)
Creates a new MD5 with the given bytes.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.avro.Schema |
getClassSchema() |
org.apache.avro.Schema |
getSchema() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public MD5()
public MD5(byte[] bytes)
bytes
- The bytes to create the new MD5.public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificFixed
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificFixed
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificFixed
IOException
Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.