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).
LOG| Constructor and Description |
|---|
BloomFilterFileIndex(DataType dataType,
Options options) |
| Modifier and Type | Method and Description |
|---|---|
FileIndexReader |
createReader(SeekableInputStream inputStream,
int start,
int length) |
FileIndexWriter |
createWriter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic FileIndexWriter createWriter()
createWriter in interface FileIndexerpublic FileIndexReader createReader(SeekableInputStream inputStream, int start, int length)
createReader in interface FileIndexerCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.