mirror of https://gitee.com/bigwinds/arangodb
Added stubs to get an index iterator from an index with VPackSlices
This commit is contained in:
parent
b406a062ca
commit
ff07376fc9
|
@ -925,6 +925,16 @@ IndexIterator* HashIndex::iteratorForCondition(
|
|||
return new HashIndexIterator(trx, this, searchValues);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief creates an IndexIterator for the given VelocyPackSlices
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
IndexIterator* HashIndex::iteratorForSlices(
|
||||
arangodb::Transaction* trx, IndexIteratorContext* context,
|
||||
std::shared_ptr<std::vector<VPackSlice>> slides, bool reverse) const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief specializes the condition for use with the index
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -165,6 +165,11 @@ class HashIndex final : public PathBasedIndex {
|
|||
arangodb::aql::Variable const*,
|
||||
bool) const override;
|
||||
|
||||
IndexIterator* iteratorForSlices(
|
||||
arangodb::Transaction*, IndexIteratorContext*,
|
||||
std::shared_ptr<std::vector<arangodb::velocypack::Slice>>,
|
||||
bool) const override;
|
||||
|
||||
arangodb::aql::AstNode* specializeCondition(
|
||||
arangodb::aql::AstNode*, arangodb::aql::Variable const*) const override;
|
||||
|
||||
|
|
|
@ -374,6 +374,12 @@ class Index {
|
|||
arangodb::aql::Variable const*,
|
||||
bool) const;
|
||||
|
||||
virtual IndexIterator* iteratorForSlices(
|
||||
arangodb::Transaction*, IndexIteratorContext*,
|
||||
std::shared_ptr<std::vector<arangodb::velocypack::Slice>>, bool) const {
|
||||
THROW_ARANGO_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
virtual arangodb::aql::AstNode* specializeCondition(
|
||||
arangodb::aql::AstNode*, arangodb::aql::Variable const*) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue