aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/itablemanager.h
blob: 12e09f4250df5ec358c7365cdbfd9bc6e97d1d87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "table.h"

namespace search::fef {

/**
 * This is an interface used to access registered tables.
 **/
class ITableManager
{
public:
    /**
     * Returns a const view of the table with the given name or NULL if not found.
     **/
    virtual const Table * getTable(const vespalib::string & name) const = 0;
    virtual ~ITableManager() = default;
};

}