sdong
d0de413f4d
WriteBatchWithIndex to allow different Comparators for different column families
...
Summary:
Previously, one single column family is given to WriteBatchWithIndex to index keys for all column families. An extra map from column family ID to comparator is maintained which can override the default comparator given in the constructor. A WriteBatchWithIndex::SetComparatorForCF() is added for user to add comparators per column family.
Also move more codes into anonymous namespace.
Test Plan: Add a unit test
Reviewers: ljin, igor
Reviewed By: igor
Subscribers: dhruba, leveldb, yhchiang
Differential Revision: https://reviews.facebook.net/D23355
2014-09-22 13:47:39 -07:00
..
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-08-26 09:57:25 -07:00
2014-09-08 10:37:05 -07:00
2014-09-02 13:29:05 -07:00
2014-09-22 13:47:39 -07:00
2014-09-22 13:47:39 -07:00
2014-09-09 15:20:49 -07:00
2014-08-11 13:22:47 -04:00
2014-09-08 15:04:34 -07:00
2014-08-11 13:22:47 -04:00
2014-09-18 13:32:44 -07:00
2014-09-05 11:18:01 -07:00
2014-09-22 11:15:03 -07:00
2014-09-05 11:48:17 -07:00
2014-09-12 16:23:58 -07:00
2014-09-09 11:37:32 -07:00
2014-08-28 12:46:05 -04:00
2014-09-22 10:36:53 -07:00
2014-09-17 12:49:13 -07:00
2014-09-08 15:04:34 -07:00
2014-09-08 15:04:34 -07:00
2014-09-08 15:04:34 -07:00
2014-09-18 13:32:44 -07:00
2014-07-23 12:31:11 -07:00
2014-08-28 17:06:29 -07:00
2014-09-04 23:06:23 +08:00
2014-09-18 13:32:44 -07:00
2014-07-21 19:06:00 -07:00
2014-07-21 19:06:00 -07:00
2014-07-21 19:06:00 -07:00
2014-08-14 13:22:50 -07:00
2014-09-05 14:14:37 +08:00
2014-08-14 13:22:50 -07:00
2014-09-10 18:46:09 -07:00
2014-09-10 18:46:09 -07:00
2014-09-04 17:40:41 -07:00
2014-09-04 17:40:41 -07:00
2014-09-05 14:14:37 +08:00
2014-08-26 16:26:29 -07:00
2014-09-10 18:46:09 -07:00
2014-01-02 16:32:31 -08:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-09-09 11:37:32 -07:00
2014-09-09 11:37:32 -07:00
2014-09-17 12:49:13 -07:00
2014-09-17 12:49:13 -07:00
2014-03-24 17:57:13 -07:00
2014-07-30 17:24:36 -07:00
2014-07-30 17:24:36 -07:00
2014-03-26 18:11:41 -07:00
2014-07-31 11:20:49 -07:00
2014-03-14 13:02:20 -07:00
2014-09-04 16:18:36 -07:00
2014-07-01 17:14:15 -07:00
2014-09-17 12:49:13 -07:00
2014-09-04 16:18:36 -07:00
2014-01-30 22:10:10 -08:00
2014-03-10 12:56:46 -07:00
2014-09-04 23:06:23 +08:00
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-09-05 09:53:04 -07:00
2013-12-05 16:34:16 -08:00
2014-05-13 12:30:55 -07:00
2014-05-12 17:50:21 -07:00
2014-04-15 13:39:26 -07:00
2014-07-02 21:14:44 -07:00
2014-07-02 21:14:44 -07:00
2014-09-04 20:09:45 -07:00
2014-07-20 22:57:20 +08:00
2014-09-17 12:49:13 -07:00
2014-09-08 15:25:01 -07:00
2014-09-10 18:46:09 -07:00
2014-09-22 13:47:39 -07:00
2014-09-10 18:46:09 -07:00
2014-09-08 11:20:25 -07:00
2014-09-08 11:20:25 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2014-09-12 16:23:58 -07:00