aboutsummaryrefslogtreecommitdiffstats
path: root/vbench/src/vbench/vbench/native_factory.h
blob: 663072a2966ba6604aff3fa4f4f57e5cce9a6be5 (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
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.


#pragma once

#include <vespa/vespalib/data/slime/slime.h>
#include "generator.h"
#include "tagger.h"
#include "analyzer.h"

namespace vbench {

struct NativeFactory {
    Generator::UP createGenerator(const vespalib::slime::Inspector &spec,
                                  Handler<Request> &next);
    Tagger::UP createTagger(const vespalib::slime::Inspector &spec,
                            Handler<Request> &next);
    Analyzer::UP createAnalyzer(const vespalib::slime::Inspector &spec,
                                Handler<Request> &next);
};

} // namespace vbench