Package | Description |
---|---|
org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
Modifier and Type | Method and Description |
---|---|
static MD5Hash |
MD5Hash.digest(byte[] data)
Construct a hash value for a byte array.
|
static MD5Hash |
MD5Hash.digest(byte[][] dataArr,
int start,
int len)
Construct a hash value for an array of byte array.
|
static MD5Hash |
MD5Hash.digest(byte[] data,
int start,
int len)
Construct a hash value for a byte array.
|
static MD5Hash |
MD5Hash.digest(InputStream in)
Construct a hash value for the content from the InputStream.
|
static MD5Hash |
MD5Hash.digest(String string)
Construct a hash value for a String.
|
static MD5Hash |
MD5Hash.digest(org.apache.hadoop.io.UTF8 utf8)
Construct a hash value for a String.
|
static MD5Hash |
MD5Hash.read(DataInput in)
Constructs, reads and returns an instance.
|
Modifier and Type | Method and Description |
---|---|
int |
MD5Hash.compareTo(MD5Hash that)
Compares this object with the specified object for order.
|
void |
MD5Hash.set(MD5Hash that)
Copy the contents of another instance into this instance.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.