Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractHasher() - Constructor for class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- AbstractHashFunction - Class in cloud.opencode.base.hash.function
-
Abstract base class for hash functions 哈希函数抽象基类
- AbstractHashFunction(int, String) - Constructor for class cloud.opencode.base.hash.function.AbstractHashFunction
-
Creates an abstract hash function 创建抽象哈希函数
- AbstractHashFunction.AbstractHasher - Class in cloud.opencode.base.hash.function
-
Abstract base class for Hasher implementations Hasher实现的抽象基类
- AbstractHashFunction.BufferedHasher - Class in cloud.opencode.base.hash.function
-
Buffer-based hasher for accumulating bytes 基于缓冲区的hasher用于累积字节
- add(boolean) - Method in class cloud.opencode.base.hash.HashCodes.Combiner
-
Adds a boolean value to the hash combination 向哈希组合中添加boolean值
- add(int) - Method in class cloud.opencode.base.hash.HashCodes.Combiner
-
Adds an int value to the hash combination 向哈希组合中添加int值
- add(long) - Method in class cloud.opencode.base.hash.HashCodes.Combiner
-
Adds a long value to the hash combination (splits into two ints) 向哈希组合中添加long值(拆分为两个int)
- add(Object) - Method in class cloud.opencode.base.hash.HashCodes.Combiner
-
Adds an object's hash code to the hash combination (0 for null) 向哈希组合中添加对象的哈希码(null为0)
- addNode(String, T) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Adds a node with default weight 添加默认权重的节点
- addNode(String, T) - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Adds a node with default weight 添加默认权重的节点
- addNode(String, T, int) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Adds a weighted node 添加带权重的节点
- addNode(String, T, int) - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Adds a weighted node 添加带权重的节点
- addNodes(Collection) - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Adds multiple nodes 添加多个节点
- adler32() - Static method in class cloud.opencode.base.hash.function.Adler32HashFunction
-
Creates an Adler-32 hash function 创建 Adler-32 哈希函数
- adler32() - Static method in class cloud.opencode.base.hash.OpenHash
-
Adler-32 checksum Adler-32 校验和
- Adler32HashFunction - Class in cloud.opencode.base.hash.function
-
Adler-32 hash function implementation Adler-32 哈希函数实现
- algorithm() - Method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Gets the algorithm name 获取算法名称
- algorithmNotSupported(String) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates an algorithm not supported exception 创建算法不支持异常
- apply(String) - Method in interface cloud.opencode.base.hash.simhash.Tokenizer
- approximateElementCount() - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Gets the approximate number of elements inserted 获取大约的已插入元素数量
- asBytes() - Method in class cloud.opencode.base.hash.HashCode
-
Converts to byte array 转换为字节数组
- asInt() - Method in class cloud.opencode.base.hash.HashCode
-
Converts to int (uses lower 32 bits) 转换为int(使用低32位)
- asLong() - Method in class cloud.opencode.base.hash.HashCode
-
Converts to long (uses lower 64 bits) 转换为long(使用低64位)
B
- BitArray - Class in cloud.opencode.base.hash.bloom
-
Bit array implementation for bloom filter 布隆过滤器的位数组实现
- BitArray(long) - Constructor for class cloud.opencode.base.hash.bloom.BitArray
-
Creates a non-thread-safe bit array 创建非线程安全的位数组
- BitArray(long, boolean) - Constructor for class cloud.opencode.base.hash.bloom.BitArray
-
Creates a bit array with optional thread safety 创建可选线程安全的位数组
- BitArray(long, long[]) - Constructor for class cloud.opencode.base.hash.bloom.BitArray
-
Creates a bit array from existing data 从现有数据创建位数组
- bitCount() - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Gets the number of set bits (population count) 获取已设置的位数(人口计数)
- bits - Variable in class cloud.opencode.base.hash.function.AbstractHashFunction
-
Hash function bits
- bits() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- bits() - Method in class cloud.opencode.base.hash.HashCode
-
Gets the number of bits in this hash 获取此哈希的位数
- bits() - Method in interface cloud.opencode.base.hash.HashFunction
-
Gets the number of bits in the hash output 获取哈希输出的位数
- bits() - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Gets the number of bits 获取位数
- bits() - Method in class cloud.opencode.base.hash.simhash.SimHash
-
Gets the number of bits in the fingerprint 获取指纹的位数
- bits(int) - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Sets the fingerprint bit size (32 or 64) 设置指纹位大小(32或64)
- bitSize() - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Gets the number of bits 获取位数
- bitSize() - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Gets the bit array size 获取位数组大小
- bloomFilter() - Static method in class cloud.opencode.base.hash.OpenHash
-
Creates a bloom filter builder 创建布隆过滤器构建器
- bloomFilter(Funnel) - Static method in class cloud.opencode.base.hash.OpenHash
-
Creates a bloom filter builder with funnel 使用funnel创建布隆过滤器构建器
- BloomFilter<T> - Class in cloud.opencode.base.hash.bloom
-
Bloom filter implementation 布隆过滤器实现
- BloomFilterBuilder<T> - Class in cloud.opencode.base.hash.bloom
-
Builder for bloom filter 布隆过滤器构建器
- BloomFilterBuilder(Funnel) - Constructor for class cloud.opencode.base.hash.bloom.BloomFilterBuilder
- BOOLEAN_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
Boolean funnel Boolean Funnel
- buffer - Variable in class cloud.opencode.base.hash.function.AbstractHashFunction.BufferedHasher
- BufferedHasher(int) - Constructor for class cloud.opencode.base.hash.function.AbstractHashFunction.BufferedHasher
- build() - Method in class cloud.opencode.base.hash.bloom.BloomFilterBuilder
-
Builds the bloom filter 构建布隆过滤器
- build() - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter.Builder
-
Builds the counting bloom filter 构建计数布隆过滤器
- build() - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Builds the consistent hash ring 构建一致性哈希环
- build() - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Builds the SimHash instance 构建SimHash实例
- builder() - Static method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Creates a builder 创建构建器
- builder() - Static method in class cloud.opencode.base.hash.simhash.SimHash
-
Creates a builder 创建构建器
- builder(Funnel) - Static method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Creates a builder 创建构建器
- builder(Funnel) - Static method in class cloud.opencode.base.hash.bloom.CountingBloomFilter
-
Creates a builder 创建构建器
- Builder(Funnel) - Constructor for class cloud.opencode.base.hash.bloom.CountingBloomFilter.Builder
- BYTE_ARRAY_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
Byte array funnel 字节数组Funnel
C
- CHARACTER_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
Character funnel Character Funnel
- characters() - Static method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Creates a character tokenizer 创建字符分词器
- characterTokenizer() - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Uses character tokenization 使用字符分词
- checkNotUsed() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
-
Checks if this hasher has been used 检查此hasher是否已被使用
- cjkCharacters() - Static method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Creates a Chinese character tokenizer (single characters for CJK) 创建中文字符分词器(CJK单字符)
- clear() - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter
-
Clears all counters 清除所有计数器
- clear() - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Clears all nodes 清空所有节点
- clear(long) - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Clears a bit 清除位
- clearAll() - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Clears all bits 清除所有位
- cloud.opencode.base.hash - module cloud.opencode.base.hash
-
OpenCode Base Hash Module OpenCode 基础哈希模块
- cloud.opencode.base.hash - package cloud.opencode.base.hash
- cloud.opencode.base.hash.bloom - package cloud.opencode.base.hash.bloom
- cloud.opencode.base.hash.consistent - package cloud.opencode.base.hash.consistent
- cloud.opencode.base.hash.exception - package cloud.opencode.base.hash.exception
- cloud.opencode.base.hash.function - package cloud.opencode.base.hash.function
- cloud.opencode.base.hash.simhash - package cloud.opencode.base.hash.simhash
- combine(int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines two hash codes into one 将两个哈希码组合为一个
- combine(int, int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines three hash codes into one 将三个哈希码组合为一个
- combine(int, int, int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines four hash codes into one 将四个哈希码组合为一个
- combine(int, int, int, int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines five hash codes into one 将五个哈希码组合为一个
- combine(int, int, int, int, int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines six hash codes into one 将六个哈希码组合为一个
- combine(int, int, int, int, int, int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines seven hash codes into one 将七个哈希码组合为一个
- combine(int, int, int, int, int, int, int, int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Combines eight hash codes into one 将八个哈希码组合为一个
- combined(Tokenizer...) - Static method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Combines multiple tokenizers 组合多个分词器
- combineOrdered(HashCode...) - Static method in class cloud.opencode.base.hash.OpenHash
-
Combines hash codes in order 按顺序组合哈希码
- combineUnordered(HashCode...) - Static method in class cloud.opencode.base.hash.OpenHash
-
Combines hash codes unordered (XOR) 无序组合哈希码(XOR)
- concurrent(boolean) - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Sets whether to use concurrent mode 设置是否使用并发模式
- consistentHash() - Static method in class cloud.opencode.base.hash.OpenHash
-
Creates a consistent hash ring builder 创建一致性哈希环构建器
- ConsistentHash<T> - Class in cloud.opencode.base.hash.consistent
-
Consistent hash ring implementation 一致性哈希环实现
- ConsistentHashBuilder<T> - Class in cloud.opencode.base.hash.consistent
-
Builder for consistent hash ring 一致性哈希环构建器
- count(T) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter
-
Gets the minimum count for an element 获取元素的最小计数
- counterBits(int) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter.Builder
-
Sets the counter bits (default 4) 设置计数器位数(默认4)
- countingBloomFilter() - Static method in class cloud.opencode.base.hash.OpenHash
-
Creates a counting bloom filter builder 创建计数布隆过滤器构建器
- countingBloomFilter(Funnel) - Static method in class cloud.opencode.base.hash.OpenHash
-
Creates a counting bloom filter builder with funnel 使用funnel创建计数布隆过滤器构建器
- CountingBloomFilter<T> - Class in cloud.opencode.base.hash.bloom
-
Counting bloom filter implementation 计数布隆过滤器实现
- CountingBloomFilter.Builder<T> - Class in cloud.opencode.base.hash.bloom
-
Builder for counting bloom filter 计数布隆过滤器构建器
- crc32() - Static method in class cloud.opencode.base.hash.function.Crc32HashFunction
-
Creates a standard CRC32 function 创建标准CRC32函数
- crc32() - Static method in class cloud.opencode.base.hash.OpenHash
-
CRC32 CRC32
- crc32c() - Static method in class cloud.opencode.base.hash.function.Crc32HashFunction
-
Creates a CRC32C (Castagnoli) function 创建CRC32C (Castagnoli) 函数
- crc32c() - Static method in class cloud.opencode.base.hash.OpenHash
-
CRC32C (Castagnoli) CRC32C (Castagnoli)
- Crc32HashFunction - Class in cloud.opencode.base.hash.function
-
CRC32 hash function implementation CRC32 哈希函数实现
- create() - Static method in class cloud.opencode.base.hash.simhash.SimHash
-
Creates a default SimHash instance with 3-gram tokenization 创建使用3-gram分词的默认SimHash实例
- create(String, int) - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a hash function for a custom algorithm 为自定义算法创建哈希函数
D
- data() - Method in record class cloud.opencode.base.hash.consistent.HashNode
-
Returns the value of the
datarecord component. - data() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Gets the physical node's data 获取物理节点的数据
- doHash() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
-
Performs the actual hash computation 执行实际的哈希计算
- DOUBLE_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
Double funnel Double Funnel
E
- ensureCapacity(int) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.BufferedHasher
-
Ensures buffer has enough capacity 确保缓冲区有足够容量
- equals(Object) - Method in record class cloud.opencode.base.hash.consistent.HashNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.hash.HashCode
- equals(Object) - Method in class cloud.opencode.base.hash.simhash.Fingerprint
- expectedFpp() - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Gets the expected false positive probability based on current fill 根据当前填充获取预期的假阳性概率
- expectedInsertions(long) - Method in class cloud.opencode.base.hash.bloom.BloomFilterBuilder
-
Sets the expected number of insertions 设置预期插入数量
- expectedInsertions(long) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter.Builder
-
Sets the expected insertions 设置预期插入量
F
- fingerprint(String) - Method in class cloud.opencode.base.hash.simhash.SimHash
-
Computes a Fingerprint object for text 计算文本的Fingerprint对象
- Fingerprint - Class in cloud.opencode.base.hash.simhash
-
Text fingerprint representation for SimHash SimHash 的文本指纹表示
- Fingerprint(long, int) - Constructor for class cloud.opencode.base.hash.simhash.Fingerprint
-
Creates a fingerprint 创建指纹
- fnv1a_32() - Static method in class cloud.opencode.base.hash.function.Fnv1aHashFunction
-
Creates a 32-bit FNV-1a function 创建32位FNV-1a函数
- fnv1a_32() - Static method in class cloud.opencode.base.hash.OpenHash
-
FNV-1a 32-bit FNV-1a 32位
- fnv1a_64() - Static method in class cloud.opencode.base.hash.function.Fnv1aHashFunction
-
Creates a 64-bit FNV-1a function 创建64位FNV-1a函数
- fnv1a_64() - Static method in class cloud.opencode.base.hash.OpenHash
-
FNV-1a 64-bit FNV-1a 64位
- Fnv1aHashFunction - Class in cloud.opencode.base.hash.function
-
FNV-1a hash function implementation FNV-1a 哈希函数实现
- fpp(double) - Method in class cloud.opencode.base.hash.bloom.BloomFilterBuilder
-
Sets the false positive probability (0.0 - 1.0) 设置误判率(0.0 - 1.0)
- fpp(double) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter.Builder
-
Sets the false positive probability 设置误判率
- fromBase64(String) - Static method in class cloud.opencode.base.hash.HashCode
-
Creates a HashCode from a Base64 string 从Base64字符串创建HashCode
- fromBytes(byte[]) - Static method in class cloud.opencode.base.hash.bloom.BitArray
-
Creates a bit array from byte array 从字节数组创建位数组
- fromBytes(byte[]) - Static method in class cloud.opencode.base.hash.HashCode
-
Creates a HashCode from a byte array 从字节数组创建HashCode
- fromBytes(byte[], Funnel) - Static method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Deserializes from byte array 从字节数组反序列化
- fromHex(String) - Static method in class cloud.opencode.base.hash.HashCode
-
Creates a HashCode from a hexadecimal string 从十六进制字符串创建HashCode
- fromHex(String, int) - Static method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Creates a fingerprint from hexadecimal string 从十六进制字符串创建指纹
- fromInt(int) - Static method in class cloud.opencode.base.hash.HashCode
-
Creates a HashCode from an int value 从int值创建HashCode
- fromLong(long) - Static method in class cloud.opencode.base.hash.HashCode
-
Creates a HashCode from a long value 从long值创建HashCode
- funnel(T, Hasher) - Method in interface cloud.opencode.base.hash.Funnel
-
Serializes object data into a Hasher 将对象数据序列化到Hasher中
- Funnel<T> - Interface in cloud.opencode.base.hash
-
Object serialization funnel for hashing 用于哈希的对象序列化通道
G
- get(long) - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Gets a bit value 获取位值
- get(Object) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Gets the node for a key 获取键对应的节点
- get(Object, int) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Gets multiple nodes for a key (for replicas) 获取键对应的多个节点(用于副本)
- getBytes() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.BufferedHasher
-
Gets accumulated bytes 获取累积的字节
- getDistribution(Collection) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Gets key distribution across nodes 获取键在节点间的分布
- getKey() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Gets the key used for hashing this virtual node 获取用于哈希此虚拟节点的键
- getMigrationCount(String, Collection) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Gets the migration count if a node is removed 获取如果移除节点需要迁移的键数量
- getNodeCount() - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Gets the physical node count 获取物理节点数量
- getNodes() - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Gets all physical nodes 获取所有物理节点
- getVirtualNode(long) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
- getVirtualNode(long) - Method in interface cloud.opencode.base.hash.consistent.NodeLocator
-
Gets the virtual node at the specified position 获取指定位置的虚拟节点
- getVirtualNodeCount() - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
- getVirtualNodeCount() - Method in interface cloud.opencode.base.hash.consistent.NodeLocator
-
Gets the total number of virtual nodes 获取虚拟节点总数
H
- hammingDistance(long, long) - Static method in class cloud.opencode.base.hash.simhash.SimHash
-
Calculates Hamming distance between two hash values 计算两个哈希值之间的海明距离
- hammingDistance(Fingerprint) - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Calculates the Hamming distance to another fingerprint 计算与另一个指纹的海明距离
- hash() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- hash() - Method in interface cloud.opencode.base.hash.Hasher
-
Computes the hash value 计算哈希值
- hash(byte[], HashFunction) - Static method in class cloud.opencode.base.hash.OpenHash
-
Hashes a byte array 哈希字节数组
- hash(CharSequence, Charset, HashFunction) - Static method in class cloud.opencode.base.hash.OpenHash
-
Hashes a string 哈希字符串
- hash(String) - Method in class cloud.opencode.base.hash.simhash.SimHash
-
Computes SimHash for text 计算文本的SimHash
- hashBytes(byte[]) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- hashBytes(byte[]) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of a byte array 计算字节数组的哈希
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.Adler32HashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.Crc32HashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.Fnv1aHashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.HmacHashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.Murmur3HashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.SipHashFunction
- hashBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.XxHashFunction
- hashBytes(byte[], int, int) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of a byte array portion 计算字节数组部分的哈希
- hashCode() - Method in record class cloud.opencode.base.hash.consistent.HashNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.hash.HashCode
- hashCode() - Method in class cloud.opencode.base.hash.simhash.Fingerprint
- HashCode - Class in cloud.opencode.base.hash
-
Hash computation result wrapper 哈希计算结果封装
- HashCodes - Class in cloud.opencode.base.hash
-
Zero-allocation hash code combining utility 零分配哈希码组合工具
- HashCodes.Combiner - Class in cloud.opencode.base.hash
-
Chainable hash code combiner 可链式调用的哈希码组合器
- hashCount() - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Gets the number of hash functions 获取哈希函数数量
- Hasher - Interface in cloud.opencode.base.hash
-
Streaming hash calculator interface 流式哈希计算器接口
- hasherAlreadyUsed() - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates a hasher already used exception 创建Hasher已使用异常
- hashFailed(String, Throwable) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates a hash computation failed exception 创建哈希计算失败异常
- hashFile(Path) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of a file 计算文件的哈希
- hashFunction(HashFunction) - Method in class cloud.opencode.base.hash.bloom.BloomFilterBuilder
-
Sets the hash function 设置哈希函数
- hashFunction(HashFunction) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter.Builder
-
Sets the hash function 设置哈希函数
- hashFunction(HashFunction) - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Sets the hash function 设置哈希函数
- hashFunction(HashFunction) - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Sets the hash function for token hashing 设置用于标记哈希的哈希函数
- HashFunction - Interface in cloud.opencode.base.hash
-
Hash function interface 哈希函数接口
- hashInputStream(InputStream) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of an InputStream 计算输入流的哈希
- hashInt(int) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- hashInt(int) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of an int value 计算int值的哈希
- hashLong(long) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- hashLong(long) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of a long value 计算long值的哈希
- HashNode<T> - Record Class in cloud.opencode.base.hash.consistent
-
Hash ring node representation 哈希环节点表示
- HashNode(String, T, int) - Constructor for record class cloud.opencode.base.hash.consistent.HashNode
-
Compact constructor with validation 带验证的紧凑构造函数
- hashObject(T, Funnel) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- hashObject(T, Funnel) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of an object using a Funnel 使用Funnel计算对象的哈希
- hashString(CharSequence, Charset) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of a string with specified charset 计算指定字符集字符串的哈希
- hashUtf8(CharSequence) - Method in interface cloud.opencode.base.hash.HashFunction
-
Computes hash of a UTF-8 string 计算UTF-8字符串的哈希
- hashValue() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Returns the value of the
hashValuerecord component. - hmacFailed(String, Throwable) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates an HMAC computation failed exception 创建HMAC计算失败异常
- HmacHashFunction - Class in cloud.opencode.base.hash.function
-
HMAC hash function implementation HMAC 哈希函数实现
- hmacMd5(byte[]) - Static method in class cloud.opencode.base.hash.function.HmacHashFunction
-
Creates an HMAC-MD5 hash function 创建 HMAC-MD5 哈希函数
- hmacMd5(byte[]) - Static method in class cloud.opencode.base.hash.OpenHash
-
HMAC-MD5 HMAC-MD5
- hmacSha1(byte[]) - Static method in class cloud.opencode.base.hash.function.HmacHashFunction
-
Creates an HMAC-SHA1 hash function 创建 HMAC-SHA1 哈希函数
- hmacSha1(byte[]) - Static method in class cloud.opencode.base.hash.OpenHash
-
HMAC-SHA1 HMAC-SHA1
- hmacSha256(byte[]) - Static method in class cloud.opencode.base.hash.function.HmacHashFunction
-
Creates an HMAC-SHA256 hash function 创建 HMAC-SHA256 哈希函数
- hmacSha256(byte[]) - Static method in class cloud.opencode.base.hash.OpenHash
-
HMAC-SHA256 HMAC-SHA256
- hmacSha384(byte[]) - Static method in class cloud.opencode.base.hash.function.HmacHashFunction
-
Creates an HMAC-SHA384 hash function 创建 HMAC-SHA384 哈希函数
- hmacSha384(byte[]) - Static method in class cloud.opencode.base.hash.OpenHash
-
HMAC-SHA384 HMAC-SHA384
- hmacSha512(byte[]) - Static method in class cloud.opencode.base.hash.function.HmacHashFunction
-
Creates an HMAC-SHA512 hash function 创建 HMAC-SHA512 哈希函数
- hmacSha512(byte[]) - Static method in class cloud.opencode.base.hash.OpenHash
-
HMAC-SHA512 HMAC-SHA512
I
- id() - Method in record class cloud.opencode.base.hash.consistent.HashNode
-
Returns the value of the
idrecord component. - illegalState(String) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates an illegal state exception 创建非法状态异常
- INTEGER_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
Integer funnel Integer Funnel
- invalidBloomFilterConfig(String) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates an invalid bloom filter configuration exception 创建无效布隆过滤器配置异常
- invalidInput(String) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates an invalid input exception 创建无效输入异常
- isEmpty() - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
- isEmpty() - Method in interface cloud.opencode.base.hash.consistent.NodeLocator
-
Checks if the ring is empty 检查环是否为空
- isSimilar(long, long, int) - Static method in class cloud.opencode.base.hash.simhash.SimHash
-
Checks if two hashes are similar within threshold 检查两个哈希是否在阈值内相似
- isSimilar(Fingerprint, int) - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Checks if similar within threshold 检查是否在阈值内相似
L
- lengthWeighted() - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Uses token length as weight 使用标记长度作为权重
- locate(long) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
- locate(long) - Method in interface cloud.opencode.base.hash.consistent.NodeLocator
-
Locates the node for a given hash value 为给定的哈希值定位节点
- locateAll(long, int) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
- locateAll(long, int) - Method in interface cloud.opencode.base.hash.consistent.NodeLocator
-
Locates multiple nodes for replica placement 为副本放置定位多个节点
- LONG_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
Long funnel Long Funnel
M
- md5() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates an MD5 function (128-bit) 创建 MD5 函数(128位)
- md5() - Static method in class cloud.opencode.base.hash.OpenHash
-
MD5 (for checksums only, not secure) MD5(仅用于校验,不安全)
- merge(BloomFilter) - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Merges another bloom filter into this one 将另一个布隆过滤器合并到此过滤器
- MessageDigestHashFunction - Class in cloud.opencode.base.hash.function
-
MessageDigest-based hash function implementation 基于 MessageDigest 的哈希函数实现
- mightContain(T) - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Tests if an element might be in the filter 测试元素是否可能在过滤器中
- mightContain(T) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter
-
Tests if an element might be in the filter 测试元素是否可能在过滤器中
- murmur3_128() - Static method in class cloud.opencode.base.hash.function.Murmur3HashFunction
-
Creates a 128-bit MurmurHash3 function with default seed 使用默认种子创建128位MurmurHash3函数
- murmur3_128() - Static method in class cloud.opencode.base.hash.OpenHash
-
MurmurHash3 128-bit MurmurHash3 128位
- murmur3_128(int) - Static method in class cloud.opencode.base.hash.function.Murmur3HashFunction
-
Creates a 128-bit MurmurHash3 function with specified seed 使用指定种子创建128位MurmurHash3函数
- murmur3_128(int) - Static method in class cloud.opencode.base.hash.OpenHash
-
MurmurHash3 128-bit with seed 带种子的MurmurHash3 128位
- murmur3_32() - Static method in class cloud.opencode.base.hash.function.Murmur3HashFunction
-
Creates a 32-bit MurmurHash3 function with default seed 使用默认种子创建32位MurmurHash3函数
- murmur3_32() - Static method in class cloud.opencode.base.hash.OpenHash
-
MurmurHash3 32-bit MurmurHash3 32位
- murmur3_32(int) - Static method in class cloud.opencode.base.hash.function.Murmur3HashFunction
-
Creates a 32-bit MurmurHash3 function with specified seed 使用指定种子创建32位MurmurHash3函数
- murmur3_32(int) - Static method in class cloud.opencode.base.hash.OpenHash
-
MurmurHash3 32-bit with seed 带种子的MurmurHash3 32位
- Murmur3HashFunction - Class in cloud.opencode.base.hash.function
-
MurmurHash3 hash function implementation MurmurHash3 哈希函数实现
N
- name - Variable in class cloud.opencode.base.hash.function.AbstractHashFunction
-
Algorithm name
- name() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- name() - Method in interface cloud.opencode.base.hash.HashFunction
-
Gets the algorithm name 获取算法名称
- newHasher() - Method in class cloud.opencode.base.hash.function.Adler32HashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.Crc32HashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.Fnv1aHashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.HmacHashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.Murmur3HashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.SipHashFunction
- newHasher() - Method in class cloud.opencode.base.hash.function.XxHashFunction
- newHasher() - Method in interface cloud.opencode.base.hash.HashFunction
-
Creates a new Hasher instance for streaming hash computation 创建新的Hasher实例用于流式哈希计算
- newHasher(int) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- newHasher(int) - Method in interface cloud.opencode.base.hash.HashFunction
-
Creates a Hasher with expected input size hint 创建带预期输入大小提示的Hasher
- ngram(int) - Static method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Creates an N-gram tokenizer 创建 N-gram 分词器
- nGram(int) - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Uses N-gram tokenization 使用N-gram分词
- NodeLocator<T> - Interface in cloud.opencode.base.hash.consistent
-
Node locator interface for consistent hash ring 一致性哈希环的节点定位器接口
- nodeNotFound(String) - Static method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates a node not found exception 创建节点不存在异常
O
- of(long, int) - Static method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Creates a fingerprint with specified bits 创建指定位数的指纹
- of(HashNode, int, long) - Static method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Creates a virtual node 创建虚拟节点
- of(String, T) - Static method in record class cloud.opencode.base.hash.consistent.HashNode
-
Creates a node with default weight (1) 使用默认权重(1)创建节点
- of(String, T, int) - Static method in record class cloud.opencode.base.hash.consistent.HashNode
-
Creates a weighted node 创建带权重的节点
- of32(int) - Static method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Creates a 32-bit fingerprint 创建32位指纹
- of64(long) - Static method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Creates a 64-bit fingerprint 创建64位指纹
- OpenHash - Class in cloud.opencode.base.hash
-
Hash utility facade class 哈希工具门面类
- OpenHashException - Exception Class in cloud.opencode.base.hash.exception
-
Hash operation exception 哈希操作异常
- OpenHashException(String) - Constructor for exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates exception with message 使用消息创建异常
- OpenHashException(String, String, String) - Constructor for exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates exception with algorithm and operation context 使用算法和操作上下文创建异常
- OpenHashException(String, String, String, Throwable) - Constructor for exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates exception with algorithm, operation, and cause 使用算法、操作和原因创建异常
- OpenHashException(String, Throwable) - Constructor for exception class cloud.opencode.base.hash.exception.OpenHashException
-
Creates exception with message and cause 使用消息和原因创建异常
- operation() - Method in exception class cloud.opencode.base.hash.exception.OpenHashException
-
Gets the operation type 获取操作类型
- or(BitArray) - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Performs OR operation with another bit array 与另一个位数组执行OR操作
P
- padToLong() - Method in class cloud.opencode.base.hash.HashCode
-
Converts to long with padding for 32-bit hashes 32位哈希填充后转换为long
- physicalNode() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Returns the value of the
physicalNoderecord component. - physicalNodeId() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Gets the physical node's id 获取物理节点的ID
- put(T) - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Adds an element to the filter 向过滤器添加元素
- put(T) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter
-
Adds an element to the filter 向过滤器添加元素
- putAll(Iterable) - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Adds multiple elements to the filter 向过滤器添加多个元素
- putBoolean(boolean) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putBoolean(boolean) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a boolean value to the hash computation 向哈希计算添加boolean值
- putByte(byte) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.BufferedHasher
- putByte(byte) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a byte to the hash computation 向哈希计算添加一个字节
- putBytes(byte[]) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putBytes(byte[]) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a byte array to the hash computation 向哈希计算添加字节数组
- putBytes(byte[], int, int) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.BufferedHasher
- putBytes(byte[], int, int) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a portion of a byte array to the hash computation 向哈希计算添加字节数组的一部分
- putBytes(ByteBuffer) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putBytes(ByteBuffer) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a ByteBuffer to the hash computation 向哈希计算添加ByteBuffer
- putChar(char) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putChar(char) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a char value to the hash computation 向哈希计算添加char值
- putDouble(double) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putDouble(double) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a double value to the hash computation 向哈希计算添加double值
- putFloat(float) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putFloat(float) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a float value to the hash computation 向哈希计算添加float值
- putInt(int) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putInt(int) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds an int value to the hash computation 向哈希计算添加int值
- putLong(long) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putLong(long) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a long value to the hash computation 向哈希计算添加long值
- putObject(T, Funnel) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putObject(T, Funnel) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds an object using a Funnel to the hash computation 使用Funnel向哈希计算添加对象
- putShort(short) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putShort(short) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a short value to the hash computation 向哈希计算添加short值
- putString(CharSequence, Charset) - Method in class cloud.opencode.base.hash.function.AbstractHashFunction.AbstractHasher
- putString(CharSequence, Charset) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a string with specified charset to the hash computation 向哈希计算添加指定字符集的字符串
- putUtf8(CharSequence) - Method in interface cloud.opencode.base.hash.Hasher
-
Adds a UTF-8 string to the hash computation 向哈希计算添加UTF-8字符串
R
- remove(T) - Method in class cloud.opencode.base.hash.bloom.CountingBloomFilter
-
Removes an element from the filter 从过滤器移除元素
- removeNode(String) - Method in class cloud.opencode.base.hash.consistent.ConsistentHash
-
Removes a node 移除节点
- replicaIndex() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Returns the value of the
replicaIndexrecord component. - result() - Method in class cloud.opencode.base.hash.HashCodes.Combiner
-
Returns the final combined hash code 返回最终的组合哈希码
S
- set(long) - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Sets a bit to true 将位设置为true
- sha1() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a SHA-1 function (160-bit) 创建 SHA-1 函数(160位)
- sha1() - Static method in class cloud.opencode.base.hash.OpenHash
-
SHA-1 (for checksums only, not secure) SHA-1(仅用于校验,不安全)
- sha256() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a SHA-256 function (256-bit) 创建 SHA-256 函数(256位)
- sha256() - Static method in class cloud.opencode.base.hash.OpenHash
-
SHA-256 SHA-256
- sha3_256() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a SHA3-256 function (256-bit) 创建 SHA3-256 函数(256位)
- sha3_256() - Static method in class cloud.opencode.base.hash.OpenHash
-
SHA3-256 SHA3-256
- sha3_512() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a SHA3-512 function (512-bit) 创建 SHA3-512 函数(512位)
- sha3_512() - Static method in class cloud.opencode.base.hash.OpenHash
-
SHA3-512 SHA3-512
- sha384() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a SHA-384 function (384-bit) 创建 SHA-384 函数(384位)
- sha384() - Static method in class cloud.opencode.base.hash.OpenHash
-
SHA-384 SHA-384
- sha512() - Static method in class cloud.opencode.base.hash.function.MessageDigestHashFunction
-
Creates a SHA-512 function (512-bit) 创建 SHA-512 函数(512位)
- sha512() - Static method in class cloud.opencode.base.hash.OpenHash
-
SHA-512 SHA-512
- simHash() - Static method in class cloud.opencode.base.hash.OpenHash
-
Creates a SimHash builder 创建SimHash构建器
- SimHash - Class in cloud.opencode.base.hash.simhash
-
SimHash algorithm implementation for text fingerprinting SimHash 算法实现用于文本指纹
- SimHashBuilder - Class in cloud.opencode.base.hash.simhash
-
Builder for SimHash configuration SimHash 配置构建器
- similarity(long, long) - Static method in class cloud.opencode.base.hash.simhash.SimHash
-
Calculates similarity between two hash values 计算两个哈希值之间的相似度
- similarity(long, long, int) - Static method in class cloud.opencode.base.hash.simhash.SimHash
-
Calculates similarity with specified bits 使用指定位数计算相似度
- similarity(Fingerprint) - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Calculates the similarity to another fingerprint 计算与另一个指纹的相似度
- sipHash24() - Static method in class cloud.opencode.base.hash.function.SipHashFunction
-
Creates a SipHash-2-4 function with default key (k0=0, k1=0) 使用默认密钥(k0=0, k1=0)创建SipHash-2-4函数
- sipHash24() - Static method in class cloud.opencode.base.hash.OpenHash
-
SipHash-2-4 with default key 默认密钥的 SipHash-2-4
- sipHash24(long, long) - Static method in class cloud.opencode.base.hash.function.SipHashFunction
-
Creates a SipHash-2-4 function with specified 128-bit key 使用指定的128位密钥创建SipHash-2-4函数
- sipHash24(long, long) - Static method in class cloud.opencode.base.hash.OpenHash
-
SipHash-2-4 with specified key 指定密钥的 SipHash-2-4
- SipHashFunction - Class in cloud.opencode.base.hash.function
-
SipHash-2-4 hash function implementation SipHash-2-4 哈希函数实现
- start() - Static method in class cloud.opencode.base.hash.HashCodes
-
Creates a new Combiner with the default seed 使用默认种子创建新的Combiner
- start(int) - Static method in class cloud.opencode.base.hash.HashCodes
-
Creates a new Combiner with an initial value mixed into the seed 使用混入种子的初始值创建新的Combiner
- STRING_FUNNEL - Static variable in interface cloud.opencode.base.hash.Funnel
-
String funnel (UTF-8 encoding) 字符串Funnel(UTF-8编码)
T
- test(T) - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Tests if an element might be in the filter 测试元素是否可能在过滤器中
- threadSafe(boolean) - Method in class cloud.opencode.base.hash.bloom.BloomFilterBuilder
-
Sets whether to use thread-safe bit array 设置是否使用线程安全的位数组
- toBase64() - Method in class cloud.opencode.base.hash.HashCode
-
Converts to URL-safe Base64 string (no padding) 转换为URL安全的Base64字符串(无填充)
- toBinary() - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Converts to binary string 转换为二进制字符串
- toBytes() - Method in class cloud.opencode.base.hash.bloom.BitArray
-
Converts to byte array for serialization 转换为字节数组用于序列化
- toBytes() - Method in class cloud.opencode.base.hash.bloom.BloomFilter
-
Serializes to byte array 序列化为字节数组
- toHex() - Method in class cloud.opencode.base.hash.HashCode
-
Converts to hexadecimal string 转换为十六进制字符串
- toHex() - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Converts to hexadecimal string 转换为十六进制字符串
- tokenize(String) - Method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Tokenizes the input text 分词输入文本
- tokenizer(Tokenizer) - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Sets a Tokenizer instance 设置Tokenizer实例
- tokenizer(Function) - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Sets a custom tokenizer 设置自定义分词器
- Tokenizer - Interface in cloud.opencode.base.hash.simhash
-
Tokenizer interface for SimHash text processing SimHash 文本处理的分词器接口
- toString() - Method in record class cloud.opencode.base.hash.consistent.HashNode
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.hash.consistent.VirtualNode
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.hash.function.AbstractHashFunction
- toString() - Method in class cloud.opencode.base.hash.function.HmacHashFunction
- toString() - Method in class cloud.opencode.base.hash.function.SipHashFunction
-
Returns string representation without exposing key values 返回字符串表示,不暴露密钥值
- toString() - Method in class cloud.opencode.base.hash.HashCode
- toString() - Method in class cloud.opencode.base.hash.simhash.Fingerprint
U
- uniformWeight() - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Uses uniform weight (1 for all tokens) 使用均匀权重(所有标记为1)
V
- value() - Method in class cloud.opencode.base.hash.simhash.Fingerprint
-
Gets the fingerprint value 获取指纹值
- VirtualNode<T> - Record Class in cloud.opencode.base.hash.consistent
-
Virtual node in consistent hash ring 一致性哈希环中的虚拟节点
- VirtualNode(HashNode, int, long) - Constructor for record class cloud.opencode.base.hash.consistent.VirtualNode
-
Creates an instance of a
VirtualNoderecord class. - virtualNodeCount(int) - Method in class cloud.opencode.base.hash.consistent.ConsistentHashBuilder
-
Sets the virtual node count per physical node 设置每个物理节点的虚拟节点数
W
- weight() - Method in record class cloud.opencode.base.hash.consistent.HashNode
-
Returns the value of the
weightrecord component. - weightFunction(Function) - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Sets the token weight function 设置标记权重函数
- whitespace() - Static method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Creates a whitespace tokenizer 创建空格分词器
- whitespaceTokenizer() - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Uses whitespace tokenization 使用空格分词
- words() - Static method in interface cloud.opencode.base.hash.simhash.Tokenizer
-
Creates a word boundary tokenizer (alphanumeric words) 创建单词边界分词器(字母数字单词)
- wordTokenizer() - Method in class cloud.opencode.base.hash.simhash.SimHashBuilder
-
Uses word tokenization 使用单词分词
- writeBytesTo(byte[], int) - Method in class cloud.opencode.base.hash.HashCode
-
Writes hash bytes to a destination array 将哈希字节写入目标数组
X
- xxHash64() - Static method in class cloud.opencode.base.hash.function.XxHashFunction
-
Creates an xxHash64 function with default seed (0) 使用默认种子(0)创建xxHash64函数
- xxHash64() - Static method in class cloud.opencode.base.hash.OpenHash
-
xxHash 64-bit xxHash 64位
- xxHash64(long) - Static method in class cloud.opencode.base.hash.function.XxHashFunction
-
Creates an xxHash64 function with specified seed 使用指定种子创建xxHash64函数
- xxHash64(long) - Static method in class cloud.opencode.base.hash.OpenHash
-
xxHash 64-bit with seed 带种子的xxHash 64位
- XxHashFunction - Class in cloud.opencode.base.hash.function
-
xxHash64 hash function implementation xxHash64 哈希函数实现
All Classes and Interfaces|All Packages|Serialized Form