attribute_group_iterator_impl.cc 684 B

1234567891011121314151617181920
  1. // Copyright (c) Meta Platforms, Inc. and affiliates.
  2. // This source code is licensed under both the GPLv2 (found in the
  3. // COPYING file in the root directory) and Apache 2.0 License
  4. // (found in the LICENSE.Apache file in the root directory).
  5. #include "db/attribute_group_iterator_impl.h"
  6. namespace ROCKSDB_NAMESPACE {
  7. const AttributeGroups kNoAttributeGroups;
  8. const IteratorAttributeGroups kNoIteratorAttributeGroups;
  9. void AttributeGroupIteratorImpl::AddToAttributeGroups(
  10. const autovector<MultiCfIteratorInfo>& items) {
  11. for (const auto& item : items) {
  12. attribute_groups_.emplace_back(item.cfh, &item.iterator->columns());
  13. }
  14. }
  15. } // namespace ROCKSDB_NAMESPACE