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, wait
create
public FileIndexWriter createWriter()
createWriter
in interface FileIndexer
public FileIndexReader createReader(SeekableInputStream inputStream, int start, int length)
createReader
in interface FileIndexer
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.