本文整理了Java中org.apache.hadoop.hbase.util.Hash.parseHashType()
方法的一些代码示例,展示了Hash.parseHashType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hash.parseHashType()
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.util.Hash
类名称:Hash
方法名:parseHashType
[英]This utility method converts String representation of hash function name to a symbolic constant. Currently three function types are supported, "jenkins", "murmur" and "murmur3".
[中]此实用程序方法将哈希函数名的字符串表示形式转换为符号常量。目前支持三种功能类型,“詹金斯”、“杂音”和“杂音3”。
代码示例来源:origin: apache/hbase
/**
* This utility method converts the name of the configured
* hash type to a symbolic constant.
* @param conf configuration
* @return one of the predefined constants
*/
public static int getHashType(Configuration conf) {
String name = conf.get("hbase.hash.type", "murmur");
return parseHashType(name);
}
代码示例来源:origin: com.aliyun.hbase/alihbase-common
/**
* This utility method converts the name of the configured
* hash type to a symbolic constant.
* @param conf configuration
* @return one of the predefined constants
*/
public static int getHashType(Configuration conf) {
String name = conf.get("hbase.hash.type", "murmur");
return parseHashType(name);
}
代码示例来源:origin: org.apache.hbase/hbase-common
/**
* This utility method converts the name of the configured
* hash type to a symbolic constant.
* @param conf configuration
* @return one of the predefined constants
*/
public static int getHashType(Configuration conf) {
String name = conf.get("hbase.hash.type", "murmur");
return parseHashType(name);
}
代码示例来源:origin: co.cask.hbase/hbase
/**
* This utility method converts the name of the configured
* hash type to a symbolic constant.
* @param conf configuration
* @return one of the predefined constants
*/
public static int getHashType(Configuration conf) {
String name = conf.get("hbase.hash.type", "murmur");
return parseHashType(name);
}
代码示例来源:origin: harbby/presto-connectors
/**
* This utility method converts the name of the configured
* hash type to a symbolic constant.
* @param conf configuration
* @return one of the predefined constants
*/
public static int getHashType(Configuration conf) {
String name = conf.get("hbase.hash.type", "murmur");
return parseHashType(name);
}
内容来源于网络,如有侵权,请联系作者删除!