@Test public void testVerify() { add("name", Convert.javaToThrift("jeff"), 1); store.stop(); ((Database) store).triggerSync(); store.start(); Assert.assertTrue( store.verify("name", Convert.javaToThrift("jeff"), 1)); }
@Override public boolean verify(String key, TObject value, long record) { PrimaryKey _locator = PrimaryKey.wrap(record); Text _key = Text.wrapCached(key); Value _value = Value.wrap(value); TableRecord table = getTableRecord(_locator, _key); return table.verify(_key, _value); }
Database extends BaseStore implements PermanentStore { @Override public boolean verify(String key, TObject value, long record) { PrimaryKey _locator = PrimaryKey.wrap(record); Text _key = Text.wrapCached(key); Value _value = Value.wrap(value); TableRecord table = getTableRecord(_locator, _key); return table.verify(_key, _value); } }
Database extends BaseStore implements PermanentStore { @Override public boolean verify(String key, TObject value, long record) { PrimaryKey _locator = PrimaryKey.wrap(record); Text _key = Text.wrapCached(key); Value _value = Value.wrap(value); TableRecord table = getTableRecord(_locator, _key); return table.verify(_key, _value); } Database();  Database(Path directory);  Database(String directory); }
Database extends BaseStore implements PermanentStore { @Override public boolean verify(String key, TObject value, long record) { PrimaryKey _locator = PrimaryKey.wrap(record); Text _key = Text.wrapCached(key); Value _value = Value.wrap(value); TableRecord table = getTableRecord(_locator, _key); return table.verify(_key, _value); } Database();  Database(Path directory);  Database(String directory); static Iterator<Revision<PrimaryKey, Text, Value>> onDiskStreamingIterator(
            final String dbStore); @Override void accept(Write write); @Override void accept(Write write, boolean sync); @Override Map<Long, String> audit(long record); @Override Map<Long, String> audit(String key, long record); @Override Map<TObject, Set<Long>> browse(String key); @Override Map<TObject, Set<Long>> browse(String key, long timestamp); @Override Map<Long, Set<TObject>> chronologize(String key, long record,
            long start, long end); @Override boolean contains(long record); @Override Map<Long, Set<TObject>> doExplore(long timestamp, String key,
            Operator operator, TObject... values); @Override Map<Long, Set<TObject>> doExplore(String key, Operator operator,
            TObject... values); String dump(String id); @Override Set<TObject> gather(String key, long record); @Override Set<TObject> gather(String key, long record, long timestamp); @Restricted String getBackingStore(); @ManagedOperation List<String> getDumpList(); @Override Memory memory(); @Override Set<Long> search(String key, String query); @Override Map<String, Set<TObject>> select(long record); @Override Map<String, Set<TObject>> select(long record, long timestamp); @Override Set<TObject> select(String key, long record); @Override Set<TObject> select(String key, long record, long timestamp); @Override void start(); @Override void stop(); @Override void sync(); @GuardedBy("triggerSync(boolean)") void triggerSync(); @Override boolean verify(String key, TObject value, long record); @Override boolean verify(String key, TObject value, long record,
            long timestamp); }
Database extends BaseStore implements PermanentStore { @Override public boolean verify(String key, TObject value, long record) { PrimaryKey _locator = PrimaryKey.wrap(record); Text _key = Text.wrapCached(key); Value _value = Value.wrap(value); TableRecord table = getTableRecord(_locator, _key); return table.verify(_key, _value); } Database();  Database(Path directory);  Database(String directory); static Iterator<Revision<PrimaryKey, Text, Value>> onDiskStreamingIterator(
            final String dbStore); @Override void accept(Write write); @Override void accept(Write write, boolean sync); @Override Map<Long, String> audit(long record); @Override Map<Long, String> audit(String key, long record); @Override Map<TObject, Set<Long>> browse(String key); @Override Map<TObject, Set<Long>> browse(String key, long timestamp); @Override Map<Long, Set<TObject>> chronologize(String key, long record,
            long start, long end); @Override boolean contains(long record); @Override Map<Long, Set<TObject>> doExplore(long timestamp, String key,
            Operator operator, TObject... values); @Override Map<Long, Set<TObject>> doExplore(String key, Operator operator,
            TObject... values); String dump(String id); @Override Set<TObject> gather(String key, long record); @Override Set<TObject> gather(String key, long record, long timestamp); @Restricted String getBackingStore(); @ManagedOperation List<String> getDumpList(); @Override Memory memory(); @Override Set<Long> search(String key, String query); @Override Map<String, Set<TObject>> select(long record); @Override Map<String, Set<TObject>> select(long record, long timestamp); @Override Set<TObject> select(String key, long record); @Override Set<TObject> select(String key, long record, long timestamp); @Override void start(); @Override void stop(); @Override void sync(); @GuardedBy("triggerSync(boolean)") void triggerSync(); @Override boolean verify(String key, TObject value, long record); @Override boolean verify(String key, TObject value, long record,
            long timestamp);  }