aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcorespi/index/disk_index_stats.h
blob: 831d95e95c108d58b310454780e252096e3e358e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "index_searchable_stats.h"
#include <vespa/vespalib/stllike/string.h>

namespace searchcorespi {
namespace index {

struct IDiskIndex;

/**
 * Information about a disk index usable by state explorer.
 */
class DiskIndexStats : public IndexSearchableStats {
    vespalib::string _indexDir;
public:
    DiskIndexStats();
    DiskIndexStats(const IDiskIndex &index);
    ~DiskIndexStats();

    const vespalib::string &getIndexdir() const { return _indexDir; }
};

} // namespace searchcorespi::index
} // namespace searchcorespi