|
|
@ -15,15 +15,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
namespace rocksdb { |
|
|
|
namespace rocksdb { |
|
|
|
|
|
|
|
|
|
|
|
class Comparator; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BlockBuilder { |
|
|
|
class BlockBuilder { |
|
|
|
public: |
|
|
|
public: |
|
|
|
BlockBuilder(const BlockBuilder&) = delete; |
|
|
|
BlockBuilder(const BlockBuilder&) = delete; |
|
|
|
void operator=(const BlockBuilder&) = delete; |
|
|
|
void operator=(const BlockBuilder&) = delete; |
|
|
|
|
|
|
|
|
|
|
|
explicit BlockBuilder(int block_restart_interval); |
|
|
|
explicit BlockBuilder(int block_restart_interval); |
|
|
|
|
|
|
|
|
|
|
|
// Reset the contents as if the BlockBuilder was just constructed.
|
|
|
|
// Reset the contents as if the BlockBuilder was just constructed.
|
|
|
|
void Reset(); |
|
|
|
void Reset(); |
|
|
|
|
|
|
|
|
|
|
|