diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/attribute/attribute_usage_stats.h')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/attribute_usage_stats.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_usage_stats.h b/searchcore/src/vespa/searchcore/proton/attribute/attribute_usage_stats.h index 762cc324f89..1411c626bfb 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_usage_stats.h +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_usage_stats.h @@ -8,14 +8,11 @@ namespace proton { /** - * Class representing aggregated attribute usage, with info about - * the most bloated attributes with regards to enum store and - * multivalue mapping. + * Class representing aggregated max address space usage + * among components in attributes vectors in all sub databases. */ class AttributeUsageStats { - AddressSpaceUsageStats _enumStoreUsage; - AddressSpaceUsageStats _multiValueUsage; AddressSpaceUsageStats _max_usage; public: @@ -25,14 +22,10 @@ public: const vespalib::string &attributeName, const vespalib::string &subDbName); - const AddressSpaceUsageStats& enumStoreUsage() const { return _enumStoreUsage; } - const AddressSpaceUsageStats& multiValueUsage() const { return _multiValueUsage; } const AddressSpaceUsageStats& max_address_space_usage() const { return _max_usage; } bool operator==(const AttributeUsageStats& rhs) const { - return (_enumStoreUsage == rhs._enumStoreUsage) && - (_multiValueUsage == rhs._multiValueUsage) && - (_max_usage == rhs._max_usage); + return (_max_usage == rhs._max_usage); } }; |