MCPcopy Create free account
hub / github.com/burhanxz/Distributed-KV / keyMayMatch

Method keyMayMatch

lsm/src/lsm/MetaBlock.java:12–12  ·  view source on GitHub ↗

判断某block中是否存在key @param blockOffset 此block在sstable中的位置 @param key @return 如果存在则必然返回true,不存在则小概率情况下返回true

(int blockOffset, ByteBuf key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

seekMethod · 0.65
keyMayMatchMethod · 0.65

Implementers 2

MetaBlockImpllsm/src/lsm/internal/MetaBlockImpl.jav
BloomFilterlsm/src/lsm/internal/BloomFilter.java

Calls

no outgoing calls

Tested by

no test coverage detected