Lines Matching refs:handles
1223 rocksdb_column_family_handle_t* handles[2]; in main() local
1224 db = rocksdb_open_column_families(db_options, dbname, 2, cf_names, cf_opts, handles, &err); in main()
1227 rocksdb_put_cf(db, woptions, handles[1], "foo", 3, "hello", 5, &err); in main()
1230 rocksdb_put_cf(db, woptions, handles[1], "foobar1", 7, "hello1", 6, &err); in main()
1232 rocksdb_put_cf(db, woptions, handles[1], "foobar2", 7, "hello2", 6, &err); in main()
1234 rocksdb_put_cf(db, woptions, handles[1], "foobar3", 7, "hello3", 6, &err); in main()
1236 rocksdb_put_cf(db, woptions, handles[1], "foobar4", 7, "hello4", 6, &err); in main()
1241 rocksdb_flush_cf(db, flush_options, handles[1], &err); in main()
1245 CheckGetCF(db, roptions, handles[1], "foo", "hello"); in main()
1246 CheckPinGetCF(db, roptions, handles[1], "foo", "hello"); in main()
1248 rocksdb_delete_cf(db, woptions, handles[1], "foo", 3, &err); in main()
1251 rocksdb_delete_range_cf(db, woptions, handles[1], "foobar2", 7, "foobar4", in main()
1255 CheckGetCF(db, roptions, handles[1], "foo", NULL); in main()
1256 CheckPinGetCF(db, roptions, handles[1], "foo", NULL); in main()
1259 rocksdb_writebatch_put_cf(wb, handles[1], "baz", 3, "a", 1); in main()
1261 rocksdb_writebatch_put_cf(wb, handles[1], "bar", 3, "b", 1); in main()
1262 rocksdb_writebatch_put_cf(wb, handles[1], "box", 3, "c", 1); in main()
1263 rocksdb_writebatch_delete_cf(wb, handles[1], "bar", 3); in main()
1266 CheckGetCF(db, roptions, handles[1], "baz", NULL); in main()
1267 CheckGetCF(db, roptions, handles[1], "bar", NULL); in main()
1268 CheckGetCF(db, roptions, handles[1], "box", "c"); in main()
1269 CheckPinGetCF(db, roptions, handles[1], "baz", NULL); in main()
1270 CheckPinGetCF(db, roptions, handles[1], "bar", NULL); in main()
1271 CheckPinGetCF(db, roptions, handles[1], "box", "c"); in main()
1275 const rocksdb_column_family_handle_t* get_handles[3] = { handles[0], handles[1], handles[1] }; in main()
1299 rocksdb_iterator_t* iter = rocksdb_create_iterator_cf(db, roptions, handles[1]); in main()
1312 rocksdb_column_family_handle_t* iters_cf_handles[2] = { handles[0], handles[1] }; in main()
1336 rocksdb_drop_column_family(db, handles[1], &err); in main()
1339 rocksdb_column_family_handle_destroy(handles[i]); in main()