rocksdb/env
Siying Dong 21696ba502 Replace dynamic_cast<>
Summary:
Replace dynamic_cast<> so that users can choose to build with RTTI off, so that they can save several bytes per object, and get tiny more memory available.
Some nontrivial changes:
1. Add Comparator::GetRootComparator() to get around the internal comparator hack
2. Add the two experiemental functions to DB
3. Add TableFactory::GetOptionString() to avoid unnecessary casting to get the option string
4. Since 3 is done, move the parsing option functions for table factory to table factory files too, to be symmetric.
Closes https://github.com/facebook/rocksdb/pull/2645

Differential Revision: D5502723

Pulled By: siying

fbshipit-source-id: fd13cec5601cf68a554d87bfcf056f2ffa5fbf7c
2017-07-28 16:27:16 -07:00
..
env.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
env_basic_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
env_chroot.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
env_chroot.h Change RocksDB License 2017-07-15 16:11:23 -07:00
env_encryption.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
env_hdfs.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
env_posix.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
env_test.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
io_posix.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
io_posix.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
mock_env.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
mock_env.h Change RocksDB License 2017-07-15 16:11:23 -07:00
mock_env_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
posix_logger.h Change RocksDB License 2017-07-15 16:11:23 -07:00