mirror of https://gitee.com/bigwinds/arangodb
removed obsolete APIs
This commit is contained in:
parent
a94acc5504
commit
2824472ddc
|
@ -57,27 +57,12 @@ void RocksDBCollection::getPropertiesVPack(velocypack::Builder&) const {
|
|||
throw std::logic_error("not implemented");
|
||||
}
|
||||
|
||||
// datafile management
|
||||
bool RocksDBCollection::applyForTickRange(
|
||||
TRI_voc_tick_t dataMin, TRI_voc_tick_t dataMax,
|
||||
std::function<bool(TRI_voc_tick_t foundTick,
|
||||
TRI_df_marker_t const* marker)> const& callback) {
|
||||
throw std::logic_error("not implemented");
|
||||
return false;
|
||||
}
|
||||
|
||||
/// @brief closes an open collection
|
||||
int RocksDBCollection::close() {
|
||||
throw std::logic_error("not implemented");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// @brief rotate the active journal - will do nothing if there is no journal
|
||||
int RocksDBCollection::rotateActiveJournal() {
|
||||
throw std::logic_error("not implemented");
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint64_t RocksDBCollection::numberDocuments() const {
|
||||
throw std::logic_error("not implemented");
|
||||
return 0;
|
||||
|
|
|
@ -82,19 +82,9 @@ class RocksDBCollection final : public PhysicalCollection {
|
|||
|
||||
void getPropertiesVPack(velocypack::Builder&) const override;
|
||||
|
||||
// datafile management
|
||||
bool applyForTickRange(
|
||||
TRI_voc_tick_t dataMin, TRI_voc_tick_t dataMax,
|
||||
std::function<bool(TRI_voc_tick_t foundTick,
|
||||
TRI_df_marker_t const* marker)> const& callback)
|
||||
override;
|
||||
|
||||
/// @brief closes an open collection
|
||||
int close() override;
|
||||
|
||||
/// @brief rotate the active journal - will do nothing if there is no journal
|
||||
int rotateActiveJournal() override;
|
||||
|
||||
uint64_t numberDocuments() const override;
|
||||
|
||||
void sizeHint(transaction::Methods* trx, int64_t hint) override;
|
||||
|
|
Loading…
Reference in New Issue