Skip to content

Commit 8b8d15f

Browse files
committed
Integrate RibbonFilter with FilterPolicyType
1 parent dad28e5 commit 8b8d15f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

java/src/main/java/org/rocksdb/FilterPolicyType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public enum FilterPolicyType {
2828
public Filter createFilter(final long handle, final double param) {
2929
if (this == kBloomFilterPolicy) {
3030
return new BloomFilter(handle, param);
31+
} else if (this == kRibbonFilterPolicy) {
32+
return new RibbonFilter(handle, param);
3133
}
3234
return null;
3335
}

0 commit comments

Comments
 (0)