aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/test/attribute_vectors.h
blob: f073e808978eef3c048504d1cf7d84e6354daf48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <vespa/searchlib/attribute/integerbase.h>
#include <vespa/searchlib/attribute/singlenumericattribute.h>

namespace proton::test {

using Int32Attribute = search::SingleValueNumericAttribute<search::IntegerAttributeTemplate<int32_t> >;

std::unique_ptr<Int32Attribute> createInt32Attribute(const vespalib::string &name);

}