public class BloomFilterFileIndex extends Object implements FileIndexer
Note: This class use BloomFilter64 as a base filter. Store the num hash function (one
integer) and bit set bytes only. Use HashFunction to hash the objects, which hash bytes
type(like varchar, binary, etc.) using xx hash, hash numeric type by specified number hash(see
http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm).
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BLOOM_FILTER |
| 构造器和说明 |
|---|
BloomFilterFileIndex(DataType dataType,
Options options) |
| 限定符和类型 | 方法和说明 |
|---|---|
FileIndexReader |
createReader(byte[] serializedBytes) |
FileIndexWriter |
createWriter() |
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic String name()
public FileIndexWriter createWriter()
createWriter 在接口中 FileIndexerpublic FileIndexReader createReader(byte[] serializedBytes)
createReader 在接口中 FileIndexerCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.