rocksdb/include/rocksdb
Yueh-Hsuan Chiang 6935eb24e0 Add ColumnFamilyHandle::GetDescriptor()
Summary:
This patch addes ColumnFamilyHandle::GetDescriptor(), which allows
developers to obtain the CF options and names of the associated column
family given its handle.

  // Returns the up-to-date descriptor used by the current handle.  Since it
  // returns the up-to-date information, this call might internally locks
  // and releases DB mutex to access the up-to-date CF options.
  virtual ColumnFamilyDescriptor GetDescriptor() = 0;

Test Plan: augment column_family_test

Reviewers: sdong, yoshinorim, IslamAbdelRahman, rven, kradhakrishnan, anthony

Reviewed By: anthony

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D51543
2016-01-06 18:14:01 -08:00
..
utilities Do not use timed_mutex in TransactionDB 2015-12-18 17:26:02 -08:00
c.h Merge pull request #916 from warrenfalk/capi_huge_page_option 2016-01-04 09:24:30 -08:00
cache.h Correct a comment in include/rocksdb/cache.h 2015-12-10 16:39:10 -08:00
compaction_filter.h Use SST files for Transaction conflict detection 2015-12-11 12:34:11 -08:00
compaction_job_stats.h [Parallel L0-L1 Compaction Prep]: Giving Subcompactions Their Own State 2015-08-18 11:06:23 -07:00
comparator.h Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
convenience.h Delete files in given key range 2015-12-29 13:22:13 -08:00
db_dump_tool.h Update dump_tool and undump_tool to accept Options 2015-10-05 19:49:48 -07:00
db.h Add ColumnFamilyHandle::GetDescriptor() 2016-01-06 18:14:01 -08:00
delete_scheduler.h Fix appVeyor Build problem 2015-12-11 21:10:49 -08:00
env.h add a factory method for creating hdfs env 2015-12-23 17:26:50 -08:00
experimental.h Implement DB::PromoteL0 method 2015-04-23 12:10:36 -07:00
filter_policy.h Implement full filter for block based table. 2014-09-08 10:37:05 -07:00
flush_block_policy.h move block based table related options BlockBasedTableOptions 2014-08-25 14:22:05 -07:00
immutable_options.h When slowdown is triggered, reduce the write rate 2015-12-23 11:33:15 -08:00
iostats_context.h Add options.compaction_measure_io_stats to print write I/O stats in compactions 2015-08-13 16:52:26 -07:00
iterator.h Introduce ReadOptions::pin_data (support zero copy for keys) 2015-12-16 12:08:30 -08:00
ldb_tool.h [RocksDB] allow LDB tool to have customized key formatter 2014-06-23 15:35:40 -07:00
listener.h Fix lite_build 2015-12-22 11:58:13 -08:00
memtablerep.h support for concurrent adds to memtable 2015-12-25 11:03:40 -08:00
merge_operator.h Better CompactionJob testing 2015-08-07 21:59:51 -07:00
metadata.h Windows Port from Microsoft 2015-07-01 16:13:56 -07:00
options.h support for concurrent adds to memtable 2015-12-25 11:03:40 -08:00
perf_context.h Include the time unit in the comment of perf_context timers 2015-10-13 17:24:13 -07:00
perf_level.h more times in perf_context and iostats_context 2015-06-02 02:07:58 -07:00
rate_limiter.h Replace BackupRateLimiter with GenericRateLimiter 2015-09-03 17:00:09 -07:00
slice_transform.h Unaddressed comment in previous diff. Change only in code comments. 2015-01-30 16:07:35 -08:00
slice.h Enable RocksDB to persist Options file. 2015-11-10 22:58:01 -08:00
snapshot.h Support marking snapshots for write-conflict checking - Take 2 2015-12-08 16:47:31 -08:00
sst_dump_tool.h Dump routine to BlockBasedTableReader 2014-12-23 13:24:07 -08:00
sst_file_writer.h Add experimental DB::AddFile() to plug sst files into empty DB 2015-09-23 12:42:43 -07:00
statistics.h support for concurrent adds to memtable 2015-12-25 11:03:40 -08:00
status.h Make Status moveable 2015-12-22 16:06:20 -08:00
table_properties.h Revert "Adding new table properties" 2015-11-06 16:49:38 -08:00
table.h Prevent the user from setting block_restart_interval to less than 1 2016-01-04 14:13:18 -08:00
thread_status.h Deprecate CompactionFilterV2 2015-07-17 18:59:11 +02:00
transaction_log.h "make format" against last 10 commits 2015-07-13 13:50:18 -07:00
types.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
universal_compaction.h Enabling trivial move in universal compaction 2015-07-07 14:18:55 -07:00
version.h Bump version to 4.4 2015-12-16 14:32:58 -08:00
wal_filter.h "make format" in some recent commits 2015-10-29 17:11:14 -07:00
write_batch_base.h Support for SingleDelete() 2015-09-17 11:42:56 -07:00
write_batch.h track WriteBatch contents 2015-11-10 16:56:06 -08:00