Refactor filter impl

This commit is contained in:
Ankit Gupta
2014-04-22 08:58:43 -07:00
parent 89cb481aa1
commit 2214fd8a15
5 changed files with 34 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ public class RocksDBSample {
assert(db == null);
}
Filter filter = new Filter(10);
Filter filter = new BloomFilter(10);
options.setCreateIfMissing(true)
.createStatistics()
.setWriteBufferSize(8 * SizeUnit.KB)