@InterfaceAudience.Public @InterfaceStability.Stable public final class HashFunction extends Object
The general behavior of a key being stored in a filter, 
The general behavior of a filter| コンストラクタと説明 | 
|---|
| HashFunction(int maxValue,
            int nbHash,
            int hashType)Constructor. | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | clear()Clears this hash function. | 
| int[] | hash(org.apache.hadoop.util.bloom.Key k)Hashes a specified key into several integers. | 
public HashFunction(int maxValue, int nbHash, int hashType)
Builds a hash function that must obey to a given maximum number of returned values and a highest value.
maxValue - The maximum highest returned value.nbHash - The number of resulting hashed values.hashType - type of the hashing function (see Hash).Copyright © 2016 Apache Software Foundation. All rights reserved.