程序包 | 说明 |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
构造器和说明 |
---|
MD5MD5CRC32FileChecksum(int bytesPerCRC,
long crcPerBlock,
MD5Hash md5)
Create a MD5FileChecksum
|
限定符和类型 | 方法和说明 |
---|---|
static MD5Hash |
MD5Hash.digest(byte[] data)
Construct a hash value for a 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(UTF8 utf8)
Construct a hash value for a String.
|
static MD5Hash |
MD5Hash.read(DataInput in)
Constructs, reads and returns an instance.
|
限定符和类型 | 方法和说明 |
---|---|
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 © 2009 The Apache Software Foundation