Documentation ¶
Index ¶
- Constants
- type TimestampBloomFilter
- func (bf *TimestampBloomFilter) Add(timeStamp primitives.TimestampNano)
- func (bf *TimestampBloomFilter) BitCount() uint8
- func (bf *TimestampBloomFilter) Equals(other *TimestampBloomFilter) bool
- func (bf *TimestampBloomFilter) Raw() primitives.BloomFilter
- func (bf *TimestampBloomFilter) Size() uint32
- func (bf *TimestampBloomFilter) Test(timeStamp primitives.TimestampNano) bool
Constants ¶
View Source
const (
FNVMagicNumber = 0xAF63BD4C8601B7DF
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimestampBloomFilter ¶
type TimestampBloomFilter struct {
// contains filtered or unexported fields
}
this is a work in progress as we decide on the right course of action with oded and research
func New ¶
func New(size int) *TimestampBloomFilter
func NewFromRaw ¶
func NewFromRaw(raw primitives.BloomFilter) *TimestampBloomFilter
func (*TimestampBloomFilter) Add ¶
func (bf *TimestampBloomFilter) Add(timeStamp primitives.TimestampNano)
func (*TimestampBloomFilter) BitCount ¶
func (bf *TimestampBloomFilter) BitCount() uint8
func (*TimestampBloomFilter) Equals ¶
func (bf *TimestampBloomFilter) Equals(other *TimestampBloomFilter) bool
func (*TimestampBloomFilter) Raw ¶
func (bf *TimestampBloomFilter) Raw() primitives.BloomFilter
func (*TimestampBloomFilter) Size ¶
func (bf *TimestampBloomFilter) Size() uint32
func (*TimestampBloomFilter) Test ¶
func (bf *TimestampBloomFilter) Test(timeStamp primitives.TimestampNano) bool
Click to show internal directories.
Click to hide internal directories.