// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "vespa/searchcommon/attribute/i_attribute_functor.h" #include #include #include #include namespace search { class BitVector; } namespace search::attribute { class AttributeOperation : public IAttributeFunctor { public: using Hit = std::pair; using FullResult = std::pair, vespalib::Array>; template static std::unique_ptr create(search::attribute::BasicType type, const vespalib::string & operation, Hits docIds); }; }